64 void setScale( const
Vec3& _scale ) noexcept;
65 void setScale( const
Vec4& _scale ) noexcept;
78 void addScale( const
Vec3& _scale ) noexcept;
90 void setPosition( const
Vec4& _position ) noexcept;
95 void setPosition( const
Vec3& _position ) noexcept;
107 void addPosition( const
Vec4& _position ) noexcept;
112 void addPosition( const
Vec3& _position ) noexcept;
125 void setMatrix( const
Mat4 &_m ) noexcept;
132 void setRotation( const
Vec3& _rotation ) noexcept;
133 void setRotation( const
Vec4& _rotation ) noexcept;
149 void addRotation( const
Vec3& _rotation ) noexcept;
162 void reset() noexcept;
167 Vec3 getScale() const noexcept {
return m_scale; }
253 void computeMatrices() noexcept;
simple Vector class for OpenGL graphics, contains overloaded operators for most math functions...
simple Vec3 encapsulates a 3 float object like glsl vec3 but not maths use the Vec3 class for maths a...
implementation files for RibExport class
PRECISION Real
create a variable called Real which is the main data type we use (GLfloat for most cases) ...
encapsulates a 4d Homogenous Point / Vector object
Vec2 operator*(Real _k, const Vec2 &_v) noexcept
scalar * vector operator
Matrix Class to do simple matrix operations included operator overloaded functions for maths and matr...
re impliment asserts so we don't exit on failure
GLsizei const GLchar *const * string