| 1099 | } |
| 1100 | |
| 1101 | void Tr2VolumetricsRenderer::SetPlanets( const CcpMath::Sphere* planets, size_t planetCount ) |
| 1102 | { |
| 1103 | CCP_ASSERT_M( planetCount == 2, "Tr2VolumetricsRenderer expects two planets!" ); |
| 1104 | |
| 1105 | memcpy( m_planets.data(), planets, planetCount * sizeof( CcpMath::Sphere ) ); |
| 1106 | } |
| 1107 | |
| 1108 | |
| 1109 |