MCPcopy Create free account
hub / github.com/Illation/ETEngine / SetCullTransform

Method SetCullTransform

Engine/source/EtRendering/GraphicsTypes/Frustum.cpp:34–38  ·  view source on GitHub ↗

create transforms to prevent transforming every triangle into world space

Source from the content-addressed store, hash-verified

32
33//create transforms to prevent transforming every triangle into world space
34void Frustum::SetCullTransform(mat4 objectWorld)
35{
36 m_CullWorld = objectWorld;
37 m_CullInverse = math::inverse(objectWorld);
38}
39
40void Frustum::SetToCamera(Camera const& camera)
41{

Callers 2

RecalculateDerivedMethod · 0.80
UpdateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected