finish chicken nugget anime loader
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
#include <basalt/math.hpp>
|
||||
|
||||
namespace anime_loader = ::basalt::shared::anime_loader;
|
||||
using anime_loader::AnimeLoaderConfig;
|
||||
using anime_loader::IAnimeLoader;
|
||||
using anime_loader::KeyFrame;
|
||||
|
||||
@@ -14,8 +15,10 @@ public:
|
||||
ChickenNuggetAnimeLoader() {}
|
||||
virtual ~ChickenNuggetAnimeLoader() {}
|
||||
|
||||
protected:
|
||||
virtual void internal_load() override {
|
||||
public:
|
||||
virtual void load(AnimeLoaderConfig&& config) override {
|
||||
IAnimeLoader::load(std::move(config));
|
||||
|
||||
this->frames.emplace(60 * 0, KeyFrame{.position = {F(0), F(-10), F(10)}, .rotation = {F(0.382683), F(0), F(0), F(0.92388)}});
|
||||
this->frames.emplace(60 * 1,
|
||||
KeyFrame{.position = {F(-10), F(0), F(10)},
|
||||
|
||||
Reference in New Issue
Block a user