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

Method GetFrustum

trinity/Tr2ReflectionProbe.cpp:73–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73TriFrustum Tr2ReflectionProbe::GetFrustum( unsigned face, Tr2RenderContext& renderContext )
74{
75 TriFrustum frustum = TriFrustum();
76 frustum.DeriveFrustum( &Tr2Renderer::GetViewTransform(), &m_position, &Tr2Renderer::GetProjectionTransform(), renderContext.m_esm.GetViewport() );
77 return frustum;
78}
79
80uint8_t Tr2ReflectionProbe::GetStartFace() const
81{

Callers 15

UpdateVisibilityMethod · 0.80
MergeLODMethod · 0.80
UpdateVisibilityMethod · 0.80
UpdateVisibilityMethod · 0.80
SetupCascadedShadowsMethod · 0.80
BeginRenderMethod · 0.80
GatherBatchesMethod · 0.80
RenderReflectionPassMethod · 0.80
RenderBackgroundPassMethod · 0.80
RenderVolumetricsMethod · 0.80

Calls 5

GetViewTransformFunction · 0.85
GetProjectionTransformFunction · 0.85
TriFrustumClass · 0.70
DeriveFrustumMethod · 0.45
GetViewportMethod · 0.45

Tested by

no test coverage detected