diff options
-rw-r--r-- | LICENCE | 2 | ||||
-rw-r--r-- | linmath.h | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -1,7 +1,7 @@ DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE Version 2, December 2004 - Copyright (C) 2004 Sam Hocevar <sam@hocevar.net> + Copyright (C) 2013 Wolfgang 'datenwolf' Draxinger <code@datenwolf.net> Everyone is permitted to copy and distribute verbatim or modified copies of this license document, and changing it is allowed as long @@ -189,7 +189,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) { |