Project

General

Profile

« Previous | Next » 

Revision f074c272

Added by Leszek Koltunski over 3 years ago

Make the Pyraminxes a bit bigger by default - improvement.

View differences:

src/main/java/org/distorted/objects/TwistyJing.java
259 259

  
260 260
  float getScreenRatio()
261 261
    {
262
    return 1.76f;
262
    return 2*TwistyPyraminx.SCREEN_RATIO;
263 263
    }
264 264

  
265 265
///////////////////////////////////////////////////////////////////////////////////////////////////
src/main/java/org/distorted/objects/TwistyPyraminx.java
39 39

  
40 40
public class TwistyPyraminx extends TwistyObject
41 41
{
42
  static final float SCREEN_RATIO = 0.88f;
43

  
42 44
  static final Static3D[] ROT_AXIS = new Static3D[]
43 45
         {
44 46
           new Static3D(     0,-SQ3/3,-SQ6/3),
......
245 247

  
246 248
  float getScreenRatio()
247 249
    {
248
    return 0.88f;
250
    return SCREEN_RATIO;
249 251
    }
250 252

  
251 253
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff