Project

General

Profile

« Previous | Next » 

Revision 4c9ca251

Added by Leszek Koltunski over 2 years ago

Add the getFaceAxis() API and fill up the getDist3D() API.

View differences:

src/main/java/org/distorted/objectlib/touchcontrol/TouchControlTetrahedron.java
30 30
  private static final float DIST3D = SQ6/12;
31 31
  private static final float DIST2D = SQ3/6;
32 32

  
33
  private static final float[] D3D  = { DIST3D,DIST3D,DIST3D,DIST3D };
33
  public static final float[] D3D  = { DIST3D,DIST3D,DIST3D,DIST3D };
34 34

  
35 35
  public static final Static3D[] FACE_AXIS = new Static3D[]
36 36
         {

Also available in: Unified diff