summaryrefslogtreecommitdiffhomepage
path: root/src/raymath.h
diff options
context:
space:
mode:
authorraysan5 <[email protected]>2016-03-02 17:13:31 +0100
committerraysan5 <[email protected]>2016-03-02 17:13:31 +0100
commit4476a9e241b952f631afb6c8c3f3c69a481219e3 (patch)
tree475267bb8a8c2b6e5286d15f2253e8fcf10e36a7 /src/raymath.h
parent4011c13d4b0b7a684def27bac29f084085bf87a5 (diff)
downloadraylib-4476a9e241b952f631afb6c8c3f3c69a481219e3.tar.gz
raylib-4476a9e241b952f631afb6c8c3f3c69a481219e3.zip
Review rlglUnproject() system
Diffstat (limited to 'src/raymath.h')
-rw-r--r--src/raymath.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/raymath.h b/src/raymath.h
index 35cee39f..52e92b50 100644
--- a/src/raymath.h
+++ b/src/raymath.h
@@ -803,7 +803,7 @@ RMDEF Matrix MatrixFrustum(double left, double right, double bottom, double top,
// Returns perspective projection matrix
RMDEF Matrix MatrixPerspective(double fovy, double aspect, double near, double far)
{
- double top = near*tanf(fovy*PI/360.0f);
+ double top = near*tan(fovy*PI/360.0);
double right = top*aspect;
return MatrixFrustum(-right, right, -top, top, near, far);