Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2005-07-14 19:59:42 +0400
committerDaniel Dunbar <daniel@zuster.org>2005-07-14 19:59:42 +0400
commitabbda3a8a148a2b14b645a3a9396b8eace212a8f (patch)
treec601d01912eb544f5eb2a5d91a65d4b5fdb9847b /source/blender/python/api2_2x/Mathutils.c
parent6fefc761cc2c6e55cbfa1b56880263c1485d0638 (diff)
- use cos not cosf
Diffstat (limited to 'source/blender/python/api2_2x/Mathutils.c')
-rw-r--r--source/blender/python/api2_2x/Mathutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/Mathutils.c b/source/blender/python/api2_2x/Mathutils.c
index 9d0d22641a1..adc852e10e1 100644
--- a/source/blender/python/api2_2x/Mathutils.c
+++ b/source/blender/python/api2_2x/Mathutils.c
@@ -532,7 +532,7 @@ PyObject *M_Mathutils_RotationMatrix(PyObject * self, PyObject * args)
angle = angle * (float) (Py_PI / 180);
if(axis == NULL && matSize == 2) {
//2D rotation matrix
- mat[0] = (float) cosf (angle);
+ mat[0] = (float) cos (angle);
mat[1] = (float) sin (angle);
mat[2] = -((float) sin(angle));
mat[3] = (float) cos(angle);