Project

General

Profile

« Previous | Next » 

Revision e7daa161

Added by Leszek Koltunski over 2 years ago

- remove the retarded NODE_RATIO from TwistyObject
- more correctly estimate Cuboid's 'realSize' as an average of their 3 sizes.

View differences:

src/main/java/org/distorted/objectlib/effects/scramble/ScrambleEffectRotations.java
76 76

  
77 77
    mCubeEffects[0] = new MatrixEffectQuaternion(dq, new Static3D(0,0,0));
78 78

  
79
    float Z = mObject.getNodeSize()/3.0f;
79
    float Z = mObject.getNodeWidth()/3.0f;
80 80

  
81 81
    Dynamic3D d0 = new Dynamic3D(duration, 0.5f);
82 82
    d0.setMode(Dynamic.MODE_PATH);

Also available in: Unified diff