| 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 | } |