aboutsummaryrefslogtreecommitdiff
path: root/src/raymath.h
diff options
context:
space:
mode:
authorvictorfisac <victorfisac@gmail.com>2016-03-16 12:40:08 +0100
committervictorfisac <victorfisac@gmail.com>2016-03-16 12:40:08 +0100
commitd72849409982266b99dd00741bf807ef10ba3c6c (patch)
tree86098d3d7f0254712ed2fa9f64d43ab98fc54ce3 /src/raymath.h
parent78e4772f21cda45c219ce88a713708b6b0680e8f (diff)
parent5bcda7bf1526c40f605de3abcde4fd10d81c6cc5 (diff)
downloadraylib-d72849409982266b99dd00741bf807ef10ba3c6c.tar.gz
raylib-d72849409982266b99dd00741bf807ef10ba3c6c.zip
Merge remote-tracking branch 'refs/remotes/raysan5/develop' into develop
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);