Permalink
Browse files

applied the change to the header files as well

  • Loading branch information...
1 parent 3281f9f commit 655aa0949c122a237a12ccde269fd5af9238b687 @chaubold chaubold committed Apr 21, 2010
Showing with 2 additions and 3 deletions.
  1. +0 −1 kazmath/include/kazmath/mat4.h
  2. +2 −2 kazmathxx/src/mat4.h
@@ -65,7 +65,6 @@ kmMat4* const kmMat4Multiply(kmMat4* pOut, const kmMat4* pM1, const kmMat4* pM2)
kmMat4* const kmMat4Assign(kmMat4* pOut, const kmMat4* pIn);
const int kmMat4AreEqual(const kmMat4* pM1, const kmMat4* pM2);
-kmMat4* const kmMat4RotationAxis(kmMat4* pOut, const struct kmVec3* axis, kmScalar radians);
kmMat4* const kmMat4RotationX(kmMat4* pOut, const kmScalar radians);
kmMat4* const kmMat4RotationY(kmMat4* pOut, const kmScalar radians);
kmMat4* const kmMat4RotationZ(kmMat4* pOut, const kmScalar radians);
View
@@ -73,15 +73,15 @@ namespace km
static const mat4 rotationAxis(const kmVec3& axis, const kmScalar radians)
{
mat4 result;
- kmMat4RotationAxis(&result, &axis, radians);
+ kmMat4RotationAxisAngle(&result, &axis, radians);
return result;
}
static const mat4 rotationAxis(const kmScalar degrees, const kmScalar axis_x, const kmScalar axis_y, const kmScalar axis_z)
{
mat4 result;
vec3 axis(axis_x, axis_y, axis_z);
- kmMat4RotationAxis(&result, &axis, kmDegreesToRadians(degrees));
+ kmMat4RotationAxisAngle(&result, &axis, kmDegreesToRadians(degrees));
return result;
}

0 comments on commit 655aa09

Please sign in to comment.