MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / FaceArray

Method FaceArray

engine/Poseidon/Graphics/Rendering/Shape/ClipShape.cpp:101–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99}
100
101FaceArray::FaceArray(int size, bool dynamic)
102{
103 if (!dynamic)
104 {
105 GetData().SetStorage(CharStorageF.Init(64 * 1024));
106 _sections.SetStorage(CharStorageS.Init(1024));
107 }
108 if (size)
109 {
110 base::Realloc(size);
111 }
112}
113
114void FaceArray::Clip(const FaceArray& faces, TLVertexTable& tlMesh, const Camera& camera, ClipFlags clipFlags,
115 bool doCull)

Callers

nothing calls this directly

Calls 2

SetStorageMethod · 0.45
InitMethod · 0.45

Tested by

no test coverage detected