211 rotationScale = scale * rX * rY * rZ;
GLenum GLenum GLenum GLenum GLenum scale
simple Vector class for OpenGL graphics, contains overloaded operators for most math functions...
const Mat4 & transpose() noexcept
method to transpose the matrix
Singleton Class to init and Use GLSL Shaders the class stores the shaders as a map of shader objects ...
Real m_m[4][4]
matrix element m_m as a 4x4 array mapped by union to m_nn elements and m_openGL
simple Vec3 encapsulates a 3 float object like glsl vec3 but not maths use the Vec3 class for maths a...
main shader loader / manager class for GLSL shaders
implementation files for RibExport class
void rotateZ(const Real _deg) noexcept
set this matrix to a rotation matrix in the Z axis for value _deg note the matrix should be set to id...
PRECISION Real
create a variable called Real which is the main data type we use (GLfloat for most cases) ...
void scale(const Real _x, const Real _y, const Real _z) noexcept
set the matrix scale values
void rotateY(const Real _deg) noexcept
set this matrix to a rotation matrix in the Y axis for value _deg note the matrix should be set to id...
void set(Real _x, Real _y, Real _z) noexcept
sets the Vec3 component from 3 values
void rotateX(const Real _deg) noexcept
set this matrix to a rotation matrix in the X axis for value _deg note the matrix should be set to id...
void setShaderParamFromMat4(const std::string &_paramName, Mat4 _p1) noexcept
set a shader param by name for 1 int param note that the shader must be the currently active shader o...
void translate(const Real _x, const Real _y, const Real _z) noexcept
set the matrix as a translation matrix
static ShaderLib * instance()
Get the instance.
Matrix Class to do simple matrix operations included operator overloaded functions for maths and matr...
GLsizei const GLchar *const * string