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

Method MovingFrame

extensions/flexExtMovingFrame.cpp:26–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24 Matrix44 delta;
25
26 MovingFrame(Vec3 worldTranslation, Quat worldRotation)
27 {
28 position = worldTranslation;
29 rotation = worldRotation;
30 delta = Matrix44::kIdentity;
31 }
32
33 // update the frame, returns a matrix representing the delta transform that
34 // can be applied to particles to teleport them to the frame's new location

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected