| 884 | } |
| 885 | |
| 886 | CrsData::Camera *CrsData::getCameraData(int camIdx) const { |
| 887 | Camera *camData = nullptr; |
| 888 | |
| 889 | if (camIdx >= 0 && camIdx < getCameraNumber()) |
| 890 | camData = reinterpret_cast<Camera *>(reinterpret_cast<u8 *>(mObjectData) + mObjectData->cameraOffset) + camIdx; |
| 891 | return camData; |
| 892 | } |
| 893 | |
| 894 | void CrsData::Camera::getFrontDirection(JGeometry::TVec3f *dir) const { |
| 895 | dir->set(mDir); |
no outgoing calls
no test coverage detected