setRotationFromQuaternion method
void
setRotationFromQuaternion(
- Quaternion q
q
- normalized Quaternion.
Copy the given quaternion into quaternion.
Implementation
void setRotationFromQuaternion(Quaternion q) {
// assumes q is normalized
quaternion.setFrom(q);
}