MCPcopy Create free account
hub / github.com/deathkiller/jazz2-native / transform

Method transform

Sources/nCine/Graphics/Particle.cpp:44–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42 }
43
44 void Particle::transform()
45 {
46 SceneNode::transform();
47
48 if (!inLocalSpace_) {
49 worldMatrix_ = localMatrix_;
50
51 // Always independent movement
52 absScaleFactor_ = scaleFactor_;
53 absRotation_ = rotation_;
54 absPosition_ = position_;
55 }
56 }
57}

Callers 1

OnUpdateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected