aboutsummaryrefslogtreecommitdiffstats
path: root/gb_math.h
diff options
context:
space:
mode:
authorGravatar gingerBill 2017-10-12 21:02:22 +0100
committerGravatar GitHub 2017-10-12 21:02:22 +0100
commit8f151ed5b442626d001679669056e918aa5704bd (patch)
treeb6b3f7769027011135912df5d8f882033ae2c517 /gb_math.h
parentMerge branch 'master' of https://github.com/gingerBill/gb (diff)
parentFixed a warning: unused variable is no more. (diff)
Merge pull request #27 from den-mentiei/master
Fixed a warning: unused variable is no more.
Diffstat (limited to 'gb_math.h')
-rw-r--r--gb_math.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gb_math.h b/gb_math.h
index 62f84f4..9e6790f 100644
--- a/gb_math.h
+++ b/gb_math.h
@@ -3,6 +3,7 @@
use '#define GB_MATH_IMPLEMENTATION' before including to create the implementation in _ONE_ file
Version History:
+ 0.07e - Fixed a warning
0.07d - Fix mat4_inverse
0.07c - Add gb_random01
0.07b - Fix mat4_inverse
@@ -1526,7 +1527,6 @@ void gb_mat4_inverse(gbMat4 *out, gbMat4 *in) {
gbFloat4 *m = gb_float44_m(in);
float ood;
- float tmp;
float sf00 = m[2][2] * m[3][3] - m[3][2] * m[2][3];
float sf01 = m[2][1] * m[3][3] - m[3][1] * m[2][3];