Project

General

Profile

« Previous | Next » 

Revision 7f62afde

Added by Leszek Koltunski over 5 years ago

RubikApp: minor

View differences:

src/main/java/org/distorted/examples/rubik/RubikRenderer.java
164 164

  
165 165
    Static4D initializeQuat()
166 166
      {
167
      return new Static4D(0,0,0,1);//(-0.25189602f,0.3546389f,0.009657208f,0.90038127f);
167
      return new Static4D(-0.25189602f,0.3546389f,0.009657208f,0.90038127f);
168 168
      }
169 169

  
170 170
///////////////////////////////////////////////////////////////////////////////////////////////////
src/main/java/org/distorted/examples/rubik/RubikSurfaceView.java
238 238
      int sign = retFaceRotationSign(mLastTouchedFace);
239 239
      float angle = (mRotationVect==xAxis ? mDiff[yAxis] : -mDiff[xAxis]);
240 240

  
241
      mCube.continueRotation(200.0f*sign*angle/mScreenMin);
241
      mCube.continueRotation(240.0f*sign*angle/mScreenMin);
242 242
      }
243 243

  
244 244
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff