diff options
author | Learn OpenGL ES <admin@learnopengles.com> | 2013-11-07 20:49:27 -0500 |
---|---|---|
committer | Learn OpenGL ES <admin@learnopengles.com> | 2013-11-07 20:54:15 -0500 |
commit | 9cf2c119735361daa38728c618e5f7f174e73aa0 (patch) | |
tree | c07c70f5567a57aa37103c873357ffebc36f6b04 | |
parent | b08325fc4a184f9963035eb0df51e3d9aa31037d (diff) | |
download | linmath-9cf2c119735361daa38728c618e5f7f174e73aa0.tar.gz linmath-9cf2c119735361daa38728c618e5f7f174e73aa0.tar.xz linmath-9cf2c119735361daa38728c618e5f7f174e73aa0.zip |
Fix another instance of sizeof ptr instead of array.
-rw-r--r-- | linmath.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -459,7 +459,7 @@ static inline void quat_mul_vec3(vec3 r, quat q, vec3 v) quat_norm(q_, q_); quat_mul(q_, v_, q_); quat_mul(q_, q, q_); - memcpy(r, q_, sizeof(r)); + memcpy(r, q_, sizeof(q_)); } static inline void mat4x4_from_quat(mat4x4 M, quat q) { |