/// <summary> /// Apply a Y rotation to this matrix /// </summary> /// <param name="angle">Angle of rotation</param> /// <returns>This matrix</returns> /// <remarks>Apply rotate[X,Y,Z,XYZ] specialisations by sebastien bloc</remarks> public GLMatrix4D ApplyRotateY(double angle) { GLMatrix4D temp = new GLMatrix4D(); temp.loadRotateY(angle); return(Multiply3By3(temp)); }
/// <summary> /// Apply a XYZ rotation to this matrix /// </summary> /// <param name="angle">Angle of rotation around X axis</param> /// <param name="angle">Angle of rotation around Y axis</param> /// <param name="angle">Angle of rotation around Z axis</param> /// <returns>This matrix</returns> /// <remarks>Apply rotate[X,Y,Z,XYZ] specialisations by sebastien bloc</remarks> public GLMatrix4D ApplyRotateXYZ(double x, double y, double z) { GLMatrix4D temp = new GLMatrix4D(); temp.LoadRotateX(x); Multiply3By3(temp); temp.loadRotateY(y); Multiply3By3(temp); temp.loadRotateZ(z); return(Multiply3By3(temp)); }
/// <summary> /// Apply a Y rotation to this matrix /// </summary> /// <param name="angle">Angle of rotation</param> /// <returns>This matrix</returns> /// <remarks>Apply rotate[X,Y,Z,XYZ] specialisations by sebastien bloc</remarks> public GLMatrix4D ApplyRotateY( double angle ) { GLMatrix4D temp = new GLMatrix4D(); temp.loadRotateY( angle ); return Multiply3By3( temp ); }
/// <summary> /// Apply a XYZ rotation to this matrix /// </summary> /// <param name="angle">Angle of rotation around X axis</param> /// <param name="angle">Angle of rotation around Y axis</param> /// <param name="angle">Angle of rotation around Z axis</param> /// <returns>This matrix</returns> /// <remarks>Apply rotate[X,Y,Z,XYZ] specialisations by sebastien bloc</remarks> public GLMatrix4D ApplyRotateXYZ( double x,double y,double z ) { GLMatrix4D temp = new GLMatrix4D(); temp.LoadRotateX( x ); Multiply3By3( temp ); temp.loadRotateY( y ); Multiply3By3( temp ); temp.loadRotateZ( z ); return Multiply3By3( temp ); }