MCPcopy Create free account
hub / github.com/carbonengine/trinity / SetPlanets

Method SetPlanets

trinity/Tr2VolumetricsRenderer.cpp:1101–1106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1099}
1100
1101void 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

Callers 1

RenderDepthPassMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected