Revision 36273130
Added by Leszek Koltunski about 4 years ago
src/main/java/org/distorted/object/Cubit.java | ||
---|---|---|
171 | 171 |
mCurrentPosition = position; |
172 | 172 |
mRotateEffect = new MatrixEffectRotate(mRotationAngle, mRotationAxis, matrCenter); |
173 | 173 |
|
174 |
mEffect = new DistortedEffects(1);
|
|
174 |
mEffect = new DistortedEffects(); |
|
175 | 175 |
mEffect.apply(mParent.mSinkEffect); |
176 | 176 |
mEffect.apply( new MatrixEffectMove(vector) ); |
177 | 177 |
mEffect.apply( new MatrixEffectQuaternion(mQuatScramble, matrCenter)); |
Also available in: Unified diff
Move the Effects.setStretch to Meshbase.setStretch