Path.h 466 B

12345678910111213141516171819202122232425262728293031
  1. // Copyright (C) 2009-2016, Panagiotis Christopoulos Charitos.
  2. // All rights reserved.
  3. // Code licensed under the BSD License.
  4. // http://www.anki3d.org/LICENSE
  5. #pragma once
  6. #include <anki/Math.h>
  7. namespace anki
  8. {
  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. {
  19. }
  20. ~Path()
  21. {
  22. }
  23. bool load(const char* filename);
  24. };
  25. } // end namespace anki