Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

applied the change to the header files as well

  • Loading branch information...
commit 655aa0949c122a237a12ccde269fd5af9238b687 1 parent 3281f9f
@chaubold chaubold authored
Showing with 2 additions and 3 deletions.
  1. +0 −1  kazmath/include/kazmath/mat4.h
  2. +2 −2 kazmathxx/src/mat4.h
View
1  kazmath/include/kazmath/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
4 kazmathxx/src/mat4.h
@@ -73,7 +73,7 @@ namespace km
static const mat4 rotationAxis(const kmVec3& axis, const kmScalar radians)
{
mat4 result;
- kmMat4RotationAxis(&result, &axis, radians);
+ kmMat4RotationAxisAngle(&result, &axis, radians);
return result;
}
@@ -81,7 +81,7 @@ namespace km
{
mat4 result;
vec3 axis(axis_x, axis_y, axis_z);
- kmMat4RotationAxis(&result, &axis, kmDegreesToRadians(degrees));
+ kmMat4RotationAxisAngle(&result, &axis, kmDegreesToRadians(degrees));
return result;
}
Please sign in to comment.
Something went wrong with that request. Please try again.