Path.h 360 B

123456789101112131415161718192021222324
  1. #ifndef ANKI_RESOURCE_PATH_H
  2. #define ANKI_RESOURCE_PATH_H
  3. #include "anki/Math.h"
  4. namespace anki {
  5. /// Path @ref Resource resource
  6. class Path
  7. {
  8. public:
  9. Vector<Vec3> positions; ///< AKA translations
  10. Vector<Quat> rotations;
  11. Vector<F32> scales;
  12. F32 step;
  13. Path() {}
  14. ~Path() {}
  15. bool load(const char* filename);
  16. };
  17. } // end namespace anki
  18. #endif