Merge pull request #27 from den-mentiei/master
Fixed a warning: unused variable is no more.
This commit is contained in:
commit
8f151ed5b4
|
@ -5,7 +5,7 @@ gb single-file public domain libraries for C & C++
|
||||||
library | latest version | category | description
|
library | latest version | category | description
|
||||||
----------------|----------------|----------|-------------
|
----------------|----------------|----------|-------------
|
||||||
**gb.h** | 0.27 | misc | Helper library (Standard library _improvement_)
|
**gb.h** | 0.27 | misc | Helper library (Standard library _improvement_)
|
||||||
**gb_math.h** | 0.07d | math | Vector math library geared towards game development
|
**gb_math.h** | 0.07e | math | Vector math library geared towards game development
|
||||||
**gb_gl.h** | 0.05 | graphics | OpenGL Helper Library
|
**gb_gl.h** | 0.05 | graphics | OpenGL Helper Library
|
||||||
**gb_string.h** | 0.95a | strings | A better string library (this is built into gb.h too with custom allocator support!)
|
**gb_string.h** | 0.95a | strings | A better string library (this is built into gb.h too with custom allocator support!)
|
||||||
**gb_ini.h** | 0.93 | misc | Simple ini file loader library
|
**gb_ini.h** | 0.93 | misc | Simple ini file loader library
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
use '#define GB_MATH_IMPLEMENTATION' before including to create the implementation in _ONE_ file
|
use '#define GB_MATH_IMPLEMENTATION' before including to create the implementation in _ONE_ file
|
||||||
|
|
||||||
Version History:
|
Version History:
|
||||||
|
0.07e - Fixed a warning
|
||||||
0.07d - Fix mat4_inverse
|
0.07d - Fix mat4_inverse
|
||||||
0.07c - Add gb_random01
|
0.07c - Add gb_random01
|
||||||
0.07b - Fix mat4_inverse
|
0.07b - Fix mat4_inverse
|
||||||
|
@ -1526,7 +1527,6 @@ void gb_mat4_inverse(gbMat4 *out, gbMat4 *in) {
|
||||||
gbFloat4 *m = gb_float44_m(in);
|
gbFloat4 *m = gb_float44_m(in);
|
||||||
|
|
||||||
float ood;
|
float ood;
|
||||||
float tmp;
|
|
||||||
|
|
||||||
float sf00 = m[2][2] * m[3][3] - m[3][2] * m[2][3];
|
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];
|
float sf01 = m[2][1] * m[3][3] - m[3][1] * m[2][3];
|
||||||
|
|
Loading…
Reference in New Issue