diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-01-12 18:28:23 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-01-12 18:28:23 +0400 |
commit | c93e127e7a2040f74655937fedb5a9d439c03aa9 (patch) | |
tree | 6ef646a840f21f5ef6e5b5f162c0639459f9c485 /source/blender/blenlib/intern/math_matrix.c | |
parent | aab01c86cf56f5d21d2503f7e854bb19b07ca2c6 (diff) |
code cleanup: style and replace (float)sin, (float)cos with sinf, cosf
Diffstat (limited to 'source/blender/blenlib/intern/math_matrix.c')
-rw-r--r-- | source/blender/blenlib/intern/math_matrix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenlib/intern/math_matrix.c b/source/blender/blenlib/intern/math_matrix.c index 02fc5b07d6d..6784c4145a5 100644 --- a/source/blender/blenlib/intern/math_matrix.c +++ b/source/blender/blenlib/intern/math_matrix.c @@ -1245,8 +1245,8 @@ void rotate_m4(float mat[4][4], const char axis, const float angle) assert(axis >= 'X' && axis <= 'Z'); - cosine = (float)cos(angle); - sine = (float)sin(angle); + cosine = cosf(angle); + sine = sinf(angle); switch (axis) { case 'X': for (col = 0; col < 4; col++) |