|
glm::vec3 | ApplyTransform (const glm::mat4 &mat, const glm::vec3 &vec) |
|
void | CheckGlError (const char *operation) |
|
float | Clamp (float value, float min, float max) |
|
GLuint | CreateProgram (const char *vertex_source, const char *fragment_source) |
|
void | DecomposeMatrix (const glm::mat4 &transform_mat, glm::vec3 &translation, glm::quat &rotation, glm::vec3 &scale) |
|
float | DistanceSquared (const glm::vec3 &v1, const glm::vec3 &v2) |
|
glm::vec3 | GetColumnFromMatrix (const glm::mat4 &mat, const int col) |
|
glm::vec3 | GetTranslationFromMatrix (const glm::mat4 &mat) |
|
glm::vec3 | LerpVector (const glm::vec3 &x, const glm::vec3 &y, float a) |
|
void | PrintMatrix (const glm::mat4 &matrix) |
|
void | PrintQuaternion (const glm::quat &quat) |
|
void | PrintVector (const glm::vec3 &vector) |
|
bool | SegmentAABBIntersect (const glm::vec3 &aabb_min, const glm::vec3 &aabb_max, const glm::vec3 &start, const glm::vec3 &end) |
|