diff options
author | Rico P <mailtorico@gmail.com> | 2014-01-17 12:12:24 +0100 |
---|---|---|
committer | Rico P <mailtorico@gmail.com> | 2014-01-17 12:12:24 +0100 |
commit | 892e4b79f32dabe82c97d28e075c0f3068559add (patch) | |
tree | d38093ddbe894b703ce1ff0b0ad5902e15450502 /linmath.h | |
parent | f7418faa1bffa56a5754f98dcc628fcfbf8606c5 (diff) | |
download | linmath.h-892e4b79f32dabe82c97d28e075c0f3068559add.tar.gz linmath.h-892e4b79f32dabe82c97d28e075c0f3068559add.tar.bz2 |
Fixed convertion from double to float warning
Diffstat (limited to 'linmath.h')
-rw-r--r-- | linmath.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -317,7 +317,7 @@ static inline void mat4x4_frustum(mat4x4 M, float l, float r, float b, float t, M[0][0] = 2.f*n/(r-l); M[0][1] = M[0][2] = M[0][3] = 0.f; - M[1][1] = 2.*n/(t-b); + M[1][1] = 2.f*n/(t-b); M[1][0] = M[1][2] = M[1][3] = 0.f; M[2][0] = (r+l)/(r-l); |