We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4dc7ba8 commit 49b9aaeCopy full SHA for 49b9aae
include/matrix4x3.h
@@ -162,7 +162,7 @@ namespace core
162
//! Make a rotation matrix from Euler angles. The 4th row and column are unmodified.
163
inline matrix4x3& setRotationDegrees( const vector3df& rotation )
164
{
165
- return setRotationRadians( radians<vector3df>(rotation) );
+ return setRotationRadians(vector3df(radians(rotation.X), radians(rotation.Y), radians(rotation.Z)));
166
}
167
168
//! Returns the rotation, as set by setRotation().
0 commit comments