PIMathMatrixT remove scale and rotate funcs
This commit is contained in:
@@ -96,16 +96,6 @@ void PIQuaternion::normalize() {
|
||||
}
|
||||
|
||||
|
||||
PIMathMatrixT44d PIQuaternion::makeMatrix() const {
|
||||
PIMathMatrixT44d ret;
|
||||
ret[0][0] = q[0]; ret[0][1] = -q[1]; ret[0][2] = -q[2]; ret[0][3] = -q[3];
|
||||
ret[1][0] = q[1]; ret[1][1] = q[0]; ret[1][2] = -q[3]; ret[1][3] = q[2];
|
||||
ret[2][0] = q[2]; ret[2][1] = q[3]; ret[2][2] = q[0]; ret[2][3] = -q[1];
|
||||
ret[3][0] = q[3]; ret[3][1] = -q[2]; ret[3][2] = q[1]; ret[3][3] = q[0];
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
PIQuaternion PIQuaternion::fromEyler(double ax, double ay, double az) {
|
||||
PIQuaternion q_heading;
|
||||
PIQuaternion q_pinch;
|
||||
|
||||
Reference in New Issue
Block a user