| 350 | } |
| 351 | |
| 352 | Vec3 Node::getRotation3D() const |
| 353 | { |
| 354 | // rotation Z is decomposed in 2 to simulate Skew for Flash animations |
| 355 | AXASSERT(_rotationZ_X == _rotationZ_Y, "_rotationZ_X != _rotationZ_Y"); |
| 356 | |
| 357 | return Vec3(_rotationX, _rotationY, _rotationZ_X); |
| 358 | } |
| 359 | |
| 360 | void Node::updateRotationQuat() |
| 361 | { |