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

Method Add

Engine/lib/assimp/code/Common/SGSpatialSort.cpp:64–71  ·  view source on GitHub ↗

------------------------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

62SGSpatialSort::~SGSpatialSort() = default;
63// ------------------------------------------------------------------------------------------------
64void SGSpatialSort::Add(const aiVector3D& vPosition, unsigned int index,
65 unsigned int smoothingGroup)
66{
67 // store position by index and distance
68 float distance = vPosition * mPlaneNormal;
69 mPositions.emplace_back( index, vPosition,
70 distance, smoothingGroup);
71}
72// ------------------------------------------------------------------------------------------------
73void SGSpatialSort::Prepare()
74{

Callers 15

ConvexHCropFunction · 0.45
TriMethod · 0.45
calchullgenFunction · 0.45
calchullFunction · 0.45
calchullpbevFunction · 0.45
ComputeHullFunction · 0.45
PrimTestMethod · 0.45
PrimTestTriIndexMethod · 0.45
PrimTestIndexTriMethod · 0.45
_CollideMethod · 0.45
_CollideMethod · 0.45
AddFaceFunction · 0.45

Calls 1

emplace_backMethod · 0.45

Tested by

no test coverage detected