MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/FleX / NvFlexExtMovingFrameUpdate

Function NvFlexExtMovingFrameUpdate

extensions/flexExtMovingFrame.cpp:93–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91}
92
93void NvFlexExtMovingFrameUpdate(NvFlexExtMovingFrame* frame, const float* worldTranslation, const float* worldRotation, float dt)
94{
95 ((MovingFrame&)(*frame)).Move(Vec3(worldTranslation), Quat(worldRotation), dt);
96}
97
98void NvFlexExtMovingFrameApply(NvFlexExtMovingFrame* frame, float* positions, float* velocities, int numParticles, float linearScale, float angularScale, float dt)
99{

Callers 2

UpdateMethod · 0.85
UpdateMethod · 0.85

Calls 1

MoveMethod · 0.80

Tested by

no test coverage detected