tests: add a few test for mat4

This commit is contained in:
Recep Aslantas
2019-09-15 19:33:41 +03:00
parent f4f9d85caa
commit 39dc61af54
3 changed files with 70 additions and 6 deletions

View File

@@ -446,6 +446,9 @@ glm_mat4_quat(mat4 m, versor dest) {
/*!
* @brief multiply vector with mat4
*
* actually the result is vec4, after multiplication the last component
* is trimmed. if you need it don't use this func.
*
* @param[in] m mat4(affine transform)
* @param[in] v vec3
* @param[in] last 4th item to make it vec4