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

Method lineCheck

Source/Graphics/terrain.cpp:228–231  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

226}
227
228int Terrain::lineCheck(const vec3 &start, const vec3 &end, vec3 *point, vec3 *normal) {
229 Model &terrain_simplified_model = Models::Instance()->GetModel(model_id);
230 return terrain_simplified_model.lineCheckNoBackface(start, end, point, normal);
231}
232
233const int _down_sample = 1;
234

Callers

nothing calls this directly

Calls 2

lineCheckNoBackfaceMethod · 0.80
GetModelMethod · 0.45

Tested by

no test coverage detected