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

Function NvFlexExtMovingFrameInit

extensions/flexExtMovingFrame.cpp:88–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86} // anonymous namespace
87
88void NvFlexExtMovingFrameInit(NvFlexExtMovingFrame* frame, const float* worldTranslation, const float* worldRotation)
89{
90 ((MovingFrame&)(*frame)) = MovingFrame(Vec3(worldTranslation), Quat(worldRotation));
91}
92
93void NvFlexExtMovingFrameUpdate(NvFlexExtMovingFrame* frame, const float* worldTranslation, const float* worldRotation, float dt)
94{

Callers 2

InitializeMethod · 0.85
InitializeMethod · 0.85

Calls 1

MovingFrameClass · 0.85

Tested by

no test coverage detected