MCPcopy Create free account
hub / github.com/MoeMod/CSMoE / PolyFromPlane

Function PolyFromPlane

SourceSDK/mathlib/mathlib_base.cpp:3593–3659  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Purpose: This is a clone of BaseWindingForPlane() Input : *outVerts - an array of preallocated verts to build the polygon in normal - the plane normal dist - the plane constant Output : int - vert count (always 4) -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

FindConvexShapeLooseAABBFunction · 0.85
DumpPlaneToGlViewFunction · 0.85

Calls 9

fabsFunction · 0.85
CrossProductFunction · 0.70
VectorCopyFunction · 0.50
DotProductFunction · 0.50
VectorMAFunction · 0.50
VectorNormalizeFunction · 0.50
VectorScaleFunction · 0.50
VectorSubtractFunction · 0.50
VectorAddFunction · 0.50

Tested by

no test coverage detected