Changed the Vector3 to Vector3f.
Defined 3D rotation.