MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / GetProbeFromID

Method GetProbeFromID

Source/Graphics/lightprobecollection.cpp:181–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

179}
180
181LightProbe* LightProbeCollection::GetProbeFromID(int id) {
182 for (auto& light_probe : light_probes) {
183 if (light_probe.id == id) {
184 return &light_probe;
185 }
186 }
187 return NULL;
188}
189
190float GetTetrahedronVolume(vec3 points[4]) {
191 glm::mat4 tet_volume_mat;

Callers 2

DrawMethod · 0.80
GetDescMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected