Merging r6519 through r6561 from trunk to ogl-es branch
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@6562 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
@@ -235,7 +235,10 @@ namespace core
|
||||
}
|
||||
|
||||
//! Rotates the vector by a specified number of degrees around the Y axis and the specified center.
|
||||
/** \param degrees Number of degrees to rotate around the Y axis.
|
||||
/** CAREFUL: For historical reasons rotateXZBy uses a right-handed rotation
|
||||
(maybe to make it more similar to the 2D vector rotations which are counterclockwise).
|
||||
To have this work the same way as rest of Irrlicht (nodes, matrices, other rotateBy functions) pass -1*degrees in here.
|
||||
\param degrees Number of degrees to rotate around the Y axis.
|
||||
\param center The center of the rotation. */
|
||||
void rotateXZBy(f64 degrees, const vector3d<T>& center=vector3d<T>())
|
||||
{
|
||||
|
Reference in New Issue
Block a user