diff options
author | Stijn Buys <ingar@osirion.org> | 2015-02-22 16:06:03 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2015-02-22 16:06:03 +0000 |
commit | 26c8cf4d74062fb12871ae9d5298d8ceaab7a2cf (patch) | |
tree | 747fbb3eac2fb5e937142f69842edcbb6b7006ca /src | |
parent | f14bfe36478e7d581eba54a678b3da5863706b37 (diff) |
Fixed foot after shooting it.
Diffstat (limited to 'src')
-rw-r--r-- | src/math/matrix4f.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/math/matrix4f.cc b/src/math/matrix4f.cc index 4602190..31da2c9 100644 --- a/src/math/matrix4f.cc +++ b/src/math/matrix4f.cc @@ -51,9 +51,14 @@ void Matrix4f::assign(const Axis & axis) for (int i = 0; i < 3; i++) { memcpy(&_matrix[i][0], axis[i].ptr(), sizeof(float) * 3); } + _matrix[0][3] = 0; + _matrix[1][3] = 0; + _matrix[2][3] = 0; + _matrix[3][0] = 0; _matrix[3][1] = 0; _matrix[3][2] = 0; + _matrix[3][3] = 1; } |