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

Method PopulatePerFrameVSData

trinity/Interior/Tr2InteriorScene.cpp:1261–1271  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1259}
1260
1261void Tr2InteriorScene::PopulatePerFrameVSData( Tr2PerFrameVSData& data )
1262{
1263 Tr2PopulatePerFrameVSDataTransformations( data );
1264
1265 // sun
1266 Vector3 vec;
1267 GetSunDirWorldHandle()->GetValue( vec );
1268 data.sunDirWorld.x = vec.x;
1269 data.sunDirWorld.y = vec.y;
1270 data.sunDirWorld.z = vec.z;
1271}
1272
1273void Tr2InteriorScene::PopulatePerFramePSData( Tr2PerFramePSData& data, Tr2RenderContext& renderContext )
1274{

Callers

nothing calls this directly

Calls 3

GetSunDirWorldHandleFunction · 0.85
GetValueMethod · 0.45

Tested by

no test coverage detected