diff options
Diffstat (limited to 'src/math/axis.cc')
-rw-r--r-- | src/math/axis.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/math/axis.cc b/src/math/axis.cc index 402b2f6..8273469 100644 --- a/src/math/axis.cc +++ b/src/math/axis.cc @@ -84,10 +84,10 @@ void Axis::change_roll(const float angle) /* notes: http://mathworld.wolfram.com/RotationFormula.html */ -void Axis::rotate(Vector3f const &normal, float angle) +void Axis::rotate(Vector3f const &normal, float rad) { - float cosa = cosf(angle); - float sina = sinf(angle); + float cosa = cosf(rad); + float sina = sinf(rad); for (size_t i = 0; i < 3; i++) { axis_vector[i] = |