Path.h 377 B

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