| 78 | } |
| 79 | |
| 80 | void Camera::SetWorldMatrix(const Float4x4& newWorld) |
| 81 | { |
| 82 | world = newWorld; |
| 83 | position = world.Translation(); |
| 84 | orientation = Quaternion(XMQuaternionRotationMatrix(world.ToSIMD())); |
| 85 | |
| 86 | WorldMatrixChanged(); |
| 87 | } |
| 88 | |
| 89 | void Camera::SetPosition(const Float3& newPosition) |
| 90 | { |
nothing calls this directly
no test coverage detected