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

Method sample

Engine/source/afx/afxConstraint.cpp:996–1006  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

994}
995
996void afxConstraintMgr::sample(F32 dt, U32 now, const Point3F* cam_pos)
997{
998 U32 elapsed = now - mStartTime;
999
1000 for (S32 i = 0; i < mConstraints_v.size(); i++)
1001 {
1002 afxConstraintList* list = mConstraints_v[i];
1003 for (S32 j = 0; j < list->size(); j++)
1004 (*list)[j]->sample(dt, elapsed, cam_pos);
1005 }
1006}
1007
1008S32 QSORT_CALLBACK cmp_cons_defs(const void* a, const void* b)
1009{

Callers 6

process_serverMethod · 0.45
process_clientMethod · 0.45
process_serverMethod · 0.45
process_clientMethod · 0.45
process_serverMethod · 0.45
process_clientMethod · 0.45

Calls 15

getBoxCenterMethod · 0.80
getRenderPositionMethod · 0.80
getColumnMethod · 0.80
recordSampleMethod · 0.80
sampleFunction · 0.50
sizeMethod · 0.45
lenSquaredMethod · 0.45
identityMethod · 0.45
setPositionMethod · 0.45
getPositionMethod · 0.45
getRenderTransformMethod · 0.45

Tested by

no test coverage detected