rotate


Description:

public void rotate (float angle, float x, float y, float z)

Multiplies this with a rotation matrix that applies a rotation of angle degrees around the specified 3D vector.

Parameters:

this

A 4x4 transformation matrix

angle

The angle you want to rotate in degrees

x

X component of your rotation vector

y

Y component of your rotation vector

z

Z component of your rotation vector