Project

General

Profile

« Previous | Next » 

Revision c0df8854

Added by Leszek Koltunski about 2 years ago

fix touching individual Elements of a BandagedPyraminx.

View differences:

src/main/java/org/distorted/objectlib/bandaged/BandagedObjectCuboid.java
86 86

  
87 87
  public float getScreenRatio()
88 88
     {
89
     return 0.55f;
89
     return 0.5f;
90 90
     }
91 91

  
92 92
///////////////////////////////////////////////////////////////////////////////////////////////////
src/main/java/org/distorted/objectlib/bandaged/BandagedObjectPyraminx.java
135 135

  
136 136
  public float[] getDist3D()
137 137
    {
138
    float d = mSize[0]*SQ6/12;
138
    float d = SQ6/12;
139 139
    return new float[] {d,d,d,d};
140 140
    }
141 141

  

Also available in: Unified diff