MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / plane

Method plane

Engine/source/collision/extrudedPolyList.cpp:188–196  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186}
187
188void ExtrudedPolyList::plane(U32 v1, U32 v2, U32 v3)
189{
190 mPoly.plane.set(mVertexList[v1].point,
191 mVertexList[v2].point,
192 mVertexList[v3].point);
193
194 // We hope this isn't needed but we're leaving it in anyway -- BJG/EGH
195 mPoly.plane.normalizeSafe();
196}
197
198void ExtrudedPolyList::plane(const PlaneF& p)
199{

Callers

nothing calls this directly

Calls 4

setMethod · 0.45
normalizeSafeMethod · 0.45
transformMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected