COGS
Computer Graphics Structures library
ScalePreservingTransform.h
1 /*
2  Copyright (C) Skeletex Research, s.r.o. - All Rights Reserved
3  Unauthorized copying of this file, via any medium is strictly prohibited
4  Proprietary and confidential
5 */
6 #ifndef COGS_SCALE_PRESERVING_TRANSFORM_H
7 #define COGS_SCALE_PRESERVING_TRANSFORM_H
8 
9 #include <glm/glm.hpp>
10 #include <glm/gtx/quaternion.hpp>
11 
12 #include <COGS/API.h>
13 
14 
15 
16 namespace cogs
17 {
18 
26  struct COGS_API ScalePreservingTransform
27  {
29  ~ScalePreservingTransform() = default;
30 
31  glm::vec3 translation;
32  glm::quat rotation;
33  };
34 }
35 
36 #endif /* !COGS_SCALE_PRESERVING_TRANSFORM_H */
Namespace of "Computer Graphic Structures" library, which implement many core classes and structures...
Definition: AabbHierarchy.h:8
Class used for effective management of transformation matrix by handling translation, rotation.
Definition: ScalePreservingTransform.h:26