aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--LICENCE2
-rw-r--r--linmath.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/LICENCE b/LICENCE
index 9da9a6d..bb3444d 100644
--- a/LICENCE
+++ b/LICENCE
@@ -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
diff --git a/linmath.h b/linmath.h
index 0b9a96c..2a72c1c 100644
--- a/linmath.h
+++ b/linmath.h
@@ -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) {