pub fn rotate(self, x: f32, y: f32, z: f32) -> Mat4 {
		let num9 = z * ::std::f32::consts::PI;
		let num6 = num9.sin();
		let num5 = num9.cos();
		let num8 = x * ::std::f32::consts::PI;
		let num4 = num8.sin();
		let num3 = num8.cos();
		let num7 = y * ::std::f32::consts::PI;
		let num2 = num7.sin();
		let num = num7.cos();

		let qx = ((num * num4) * num5) + ((num2 * num3) * num6);
		let qy = ((num2 * num3) * num5) - ((num * num4) * num6);
		let qz = ((num * num3) * num6) - ((num2 * num4) * num5);
		let qw = ((num * num3) * num5) + ((num2 * num4) * num6);

		let nx = -qx;
		let ny = -qy;
		let nz = -qz;

		self.matrix([
			qw,nz,qy,nx,
			qz,qw,nx,ny,
			ny,qx,qw,nz,
			qx,qy,qz,qw
		]).matrix([
			qw,nz,qy,qx,
			qz,qw,nx,qy,
			ny,qx,qw,qz,
			nx,ny,nz,qw
		])
	}
/// Multiply `self` by a rotation matrix.  `x`, `y` and `z` are in PI
/// Radians.
Multiply `self` by a rotation matrix.
Multiply ` self ` by a rotation matrix .
pub fn rotate(self, x: f32, y: f32, z: f32) -> Mat4 {
		let num9 = z * ::std::f32::consts::PI;
		let num6 = num9.sin();
		let num5 = num9.cos();
		let num8 = x * ::std::f32::consts::PI;
		let num4 = num8.sin();
		let num3 = num8.cos();
		let num7 = y * ::std::f32::consts::PI;
		let num2 = num7.sin();
		let num = num7.cos();
		let qx = ((num * num4) * num5) + ((num2 * num3) * num6);
		let qy = ((num2 * num3) * num5) - ((num * num4) * num6);
		let qz = ((num * num3) * num6) - ((num2 * num4) * num5);
		let qw = ((num * num3) * num5) + ((num2 * num4) * num6);
		let nx = -qx;
		let ny = -qy;
		let nz = -qz;
		self.matrix([
			qw,nz,qy,nx,
			qz,qw,nx,ny,
			ny,qx,qw,nz,
			qx,qy,qz,qw
		]).matrix([
			qw,nz,qy,qx,
			qz,qw,nx,qy,
			ny,qx,qw,qz,
			nx,ny,nz,qw
		])
	}
pub fn rotate ( self , x : f32 , y : f32 , z : f32 ) -> Mat4 { let num9 = z * :: std :: f32 :: consts :: PI ; let num6 = num9 . sin ( ) ; let num5 = num9 . cos ( ) ; let num8 = x * :: std :: f32 :: consts :: PI ; let num4 = num8 . sin ( ) ; let num3 = num8 . cos ( ) ; let num7 = y * :: std :: f32 :: consts :: PI ; let num2 = num7 . sin ( ) ; let num = num7 . cos ( ) ; let qx = ( ( num * num4 ) * num5 ) + ( ( num2 * num3 ) * num6 ) ; let qy = ( ( num2 * num3 ) * num5 ) - ( ( num * num4 ) * num6 ) ; let qz = ( ( num * num3 ) * num6 ) - ( ( num2 * num4 ) * num5 ) ; let qw = ( ( num * num3 ) * num5 ) + ( ( num2 * num4 ) * num6 ) ; let nx = - qx ; let ny = - qy ; let nz = - qz ; self . matrix ( [ qw , nz , qy , nx , qz , qw , nx , ny , ny , qx , qw , nz , qx , qy , qz , qw ] ) . matrix ( [ qw , nz , qy , qx , qz , qw , nx , qy , ny , qx , qw , qz , nx , ny , nz , qw ] ) }
Multiply `self` by a rotation matrix.
Multiply ` self ` by a rotation matrix .
self
x
f32
y
f32
z
f32