| 41 | } |
| 42 | |
| 43 | void ViewVolumeNode::UpdateWorldData(double applicationTime) |
| 44 | { |
| 45 | Node::UpdateWorldData(applicationTime); |
| 46 | |
| 47 | if (mViewVolume) |
| 48 | { |
| 49 | Vector4<float> position = worldTransform.GetTranslationW1(); |
| 50 | |
| 51 | Matrix4x4<float> const& rotate = worldTransform.GetHMatrix(); |
| 52 | #if defined(GTE_USE_VEC_MAT) |
| 53 | Vector4<float> dVector = rotate.GetRow(0); |
| 54 | Vector4<float> uVector = rotate.GetRow(1); |
| 55 | Vector4<float> rVector = rotate.GetRow(2); |
| 56 | #else |
| 57 | Vector4<float> dVector = rotate.GetCol(0); |
| 58 | Vector4<float> uVector = rotate.GetCol(1); |
| 59 | Vector4<float> rVector = rotate.GetCol(2); |
| 60 | #endif |
| 61 | mViewVolume->SetFrame(position, dVector, uVector, rVector); |
| 62 | mOnUpdate(this); |
| 63 | } |
| 64 | } |
| 65 | |
| 66 |
nothing calls this directly
no test coverage detected