Revision 59bbb86a
Added by Leszek Koltunski almost 8 years ago
src/main/java/org/distorted/examples/olimpic/OlimpicRenderer.java | ||
---|---|---|
90 | 90 |
{ |
91 | 91 |
tmp = new DistortedBitmap(mLeaf, Distorted.CLONE_BITMAP); |
92 | 92 |
mCircleNode[i].attach(tmp); |
93 |
tmp.rotate(center, new Static1D(j*(360/NUM_LEAVES)), axis);
|
|
93 |
tmp.rotate( new Static1D(j*(360/NUM_LEAVES)), axis, center );
|
|
94 | 94 |
tmp.move(moveVector); |
95 | 95 |
} |
96 | 96 |
} |
... | ... | |
102 | 102 |
mScreen.attach(mCircleNode[i]); |
103 | 103 |
tmp = (DistortedBitmap)mCircleNode[i].getObject(); |
104 | 104 |
tmp.move( new Static3D(positions[2*i], positions[2*i+1], 0) ); |
105 |
tmp.rotate( center, mRot, axis );
|
|
105 |
tmp.rotate( mRot, axis, center );
|
|
106 | 106 |
tmp.chroma( new Static1D(0.8f), new Static3D(colors[3*i],colors[3*i+1], colors[3*i+2]) ); |
107 | 107 |
} |
108 | 108 |
} |
Also available in: Unified diff
- Javadoc for EffectNames
- make Matrix effects consistent with the rest (center of effect as last parameter!)
- bugfix for yesterday's bugfix (we only want to send 'EFFECT_REMOVED' messages if it was really the Application that called 'abortAll' and not when we are cleaning up everything)