1#ifndef OE_SCENE_TRANSFORM_H 
    2#define OE_SCENE_TRANSFORM_H 
    6#include <glm/mat4x4.hpp> 
    9#include <glm/gtx/quaternion.hpp> 
   11#include "../util/concept.h" 
   12#include "../util/angle.h" 
   32                const glm::vec3& translation = glm::vec3(0.f),
 
   33                const glm::quat& rotation = glm::quat(1.f, 0.f, 0.f, 0.f),
 
   34                const glm::vec3& scale = glm::vec3(1.f),
 
   35                const glm::vec3& skew = glm::vec3(0.f),
 
   36                const glm::vec4& perspective = glm::vec4(glm::vec3(0.f), 1.f)
 
  166            void setScale(
const float x, 
const float y, 
const float z);
 
  266            template<TranslationType T>
 
  269                _translation.x = translation.x;
 
  270                _translation.y = translation.y;
 
  271                _translation.z = translation.z;
 
 
  281            template<RotationType R>
 
  284                _rotation.x = rotation.x;
 
  285                _rotation.y = rotation.y;
 
  286                _rotation.z = rotation.z;
 
  287                _rotation.w = rotation.w;
 
 
  297            template<ScaleType S>
 
  314            template<TranslationType T>
 
  317                result.x = _translation.x;
 
  318                result.y = _translation.y;
 
  319                result.z = _translation.z;
 
 
  329            template<RotationType R>
 
  332                result.x = _rotation.x;
 
  333                result.y = _rotation.y;
 
  334                result.z = _rotation.z;
 
  335                result.w = _rotation.w;
 
 
  345            template<ScaleType S>
 
  376                _is_dirty = is_dirty;
 
 
  380            glm::vec3 _translation;
 
  384            glm::vec4 _perspective;
 
  386            mutable bool _is_dirty = 
true;
 
 
Scene related management (Render-agnostic Geometry, Manger, etc...)
Definition debug.h:19
Wrapper and helper to abstract conversions between degree and radian angles.
Definition angle.h:19