Project

General

Profile

« Previous | Next » 

Revision ab31cf6f

Added by Leszek Koltunski over 2 years ago

Cuboids: movement.

View differences:

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

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

  
32 34
  public static final Static3D[] FACE_AXIS = new Static3D[]
33 35
         {
34 36
           new Static3D(     0,+SQ3/3,+SQ6/3),
......
41 43

  
42 44
  public Movement4(Static3D[] rotAxis,float[][] cuts, boolean[][] rotatable, float size, int type, int[][][] enabled)
43 45
    {
44
    super(rotAxis, FACE_AXIS, cuts, rotatable, DIST3D, size, type, enabled);
46
    super(rotAxis, FACE_AXIS, cuts, rotatable, D3D, size, type, enabled);
45 47
    }
46 48

  
47 49
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff