| 560 | } |
| 561 | |
| 562 | void Node::SetTransformMatrix(const Matrix4f& matrix) |
| 563 | { |
| 564 | SetPosition(matrix.GetTranslation(), CoordSys_Global); |
| 565 | SetRotation(matrix.GetRotation(), CoordSys_Global); |
| 566 | SetScale(matrix.GetScale(), CoordSys_Global); |
| 567 | |
| 568 | m_transformMatrix = matrix; |
| 569 | m_transformMatrixUpdated = true; |
| 570 | } |
| 571 | |
| 572 | Vector3f Node::ToGlobalPosition(const Vector3f& localPosition) const |
| 573 | { |
nothing calls this directly
no test coverage detected