Project

General

Profile

« Previous | Next » 

Revision 59c20632

Added by Leszek Koltunski over 2 years ago

Reorg for writing the JSON

View differences:

src/main/java/org/distorted/objectlib/main/Movement.java
34 34
  // each face is split into several parts by lines coming from its center to the vertices
35 35
  public static final int TYPE_SPLIT_CORNER = 2;
36 36

  
37
  public static final int MOVEMENT_HEXAHEDRON   = 0;
38
  public static final int MOVEMENT_TETRAHEDRON  = 1;
39
  public static final int MOVEMENT_OCTAHEDRON   = 2;
40
  public static final int MOVEMENT_DODECAHEDRON = 3;
41
  public static final int MOVEMENT_SHAPECHANGE  = 4;
42

  
37 43
  static final float SQ3 = (float)Math.sqrt(3);
38 44
  static final float SQ6 = (float)Math.sqrt(6);
39 45

  

Also available in: Unified diff