diff options
author | Learn OpenGL ES <admin@learnopengles.com> | 2013-11-07 21:12:12 -0500 |
---|---|---|
committer | Learn OpenGL ES <admin@learnopengles.com> | 2013-11-07 21:12:24 -0500 |
commit | 7ae993be3054935476dc1d997a61b4684d72d6b0 (patch) | |
tree | d65540c338dc2ed0ee812cd60361c58db8a1fe3e | |
parent | 9cf2c119735361daa38728c618e5f7f174e73aa0 (diff) | |
download | linmath-7ae993be3054935476dc1d997a61b4684d72d6b0.tar.gz linmath-7ae993be3054935476dc1d997a61b4684d72d6b0.tar.xz linmath-7ae993be3054935476dc1d997a61b4684d72d6b0.zip |
Fix bug with mat4x4_translate_in_place introduced in 34cd9df850faf0bf6b9182b3500406351ad68ae0
-rw-r--r-- | linmath.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -192,7 +192,7 @@ static inline void mat4x4_translate(mat4x4 T, float x, float y, float z) } static inline void mat4x4_translate_in_place(mat4x4 M, float x, float y, float z) { - vec4 t = {x, y, z, 1}; + vec4 t = {x, y, z, 0}; vec4 r; int i; for (i = 0; i < 4; ++i) { |