Created
June 15, 2018 19:57
-
-
Save cheako/a0481eaf6f17d6935f2e7648e43a3f5d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! | |
* @brief translate existing transform matrix by v vector | |
* and stores result in same matrix | |
* | |
* @param[in, out] m affine transfrom | |
* @param[in] v translate vector [x, y, z] | |
*/ | |
CGLM_INLINE | |
void | |
glm_translate(mat4 m, vec3 v) { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Output:
Script: