/// <summary> /// Post multiplies a rotation matrix defined by /// the angle degAng and the rotation axis /// </summary> public void Rotate(float degAng, SLVec3f axis) { SLMat4f R = new SLMat4f(); R.Rotation(degAng, axis); Multiply(R); }
/// <summary> /// Post multiplies a rotation matrix defined by /// the angle degAng and the rotation axis [axisx,axisy,axisz] /// </summary> public void Rotate(float degAng, float axisx, float axisy, float axisz) { SLMat4f R = new SLMat4f(); R.Rotation(degAng, axisx, axisy, axisz); Multiply(R); }