Nameless Engine
|
#include <MeshNode.h>
Public Attributes | |
glm::mat4x4 | worldMatrix = glm::identity<glm::mat4x4>() |
glm::mat4x4 | normalMatrix = glm::identity<glm::mat4x4>() |
Constants used by shaders.
glm::mat4x4 ne::MeshNode::MeshShaderConstants::normalMatrix = glm::identity<glm::mat4x4>() |
3x3 matrix for transforming normals from model space to world space.
glm::mat4x4 ne::MeshNode::MeshShaderConstants::worldMatrix = glm::identity<glm::mat4x4>() |
Matrix to transform positions from model space to worldMatrix space.