Path.h 521 B

1234567891011121314151617181920212223242526272829
  1. // Copyright (C) 2009-2015, Panagiotis Christopoulos Charitos.
  2. // All rights reserved.
  3. // Code licensed under the BSD License.
  4. // http://www.anki3d.org/LICENSE
  5. #ifndef ANKI_RESOURCE_PATH_H
  6. #define ANKI_RESOURCE_PATH_H
  7. #include "anki/Math.h"
  8. namespace anki {
  9. /// Path @ref Resource resource
  10. class Path
  11. {
  12. public:
  13. Vector<Vec3> positions; ///< AKA translations
  14. Vector<Quat> rotations;
  15. Vector<F32> scales;
  16. F32 step;
  17. Path() {}
  18. ~Path() {}
  19. bool load(const char* filename);
  20. };
  21. } // end namespace anki
  22. #endif