Divide Framework 0.1
A free and open-source 3D Framework under heavy development
Loading...
Searching...
No Matches
Divide::TransformValues Struct Reference

#include <TransformInterface.h>

+ Inheritance diagram for Divide::TransformValues:

Public Attributes

Quaternion< F32_orientation {}
 
vec3< F32_translation { VECTOR3_ZERO }
 The object's position in the world as a 3 component vector.
 
vec3< F32_scale { VECTOR3_UNIT }
 

Detailed Description

Definition at line 39 of file TransformInterface.h.

Member Data Documentation

◆ _orientation

Quaternion<F32> Divide::TransformValues::_orientation {}

All orientation/rotation info is stored in a Quaternion (because they are awesome and also have an internal mat4 if needed)

Definition at line 43 of file TransformInterface.h.

◆ _scale

vec3<F32> Divide::TransformValues::_scale { VECTOR3_UNIT }

Scaling is stored as a 3 component vector. This helps us check more easily if it's an uniform scale or not

Definition at line 48 of file TransformInterface.h.

◆ _translation

vec3<F32> Divide::TransformValues::_translation { VECTOR3_ZERO }

The object's position in the world as a 3 component vector.

Definition at line 45 of file TransformInterface.h.


The documentation for this struct was generated from the following file: