Project

General

Profile

« Previous | Next » 

Revision a8295031

Added by Leszek Koltunski almost 2 years ago

Introduce InitData, a data structure used to initialize a TwistyObject.
Current (optional) members: int[] numLayers, int param [intended: type of the Crazy 3x3 planet], float[][] pos [position of a bandaged cube] )

View differences:

src/main/java/org/distorted/objectlib/main/ShapeHexahedron.java
43 43

  
44 44
///////////////////////////////////////////////////////////////////////////////////////////////////
45 45

  
46
  public ShapeHexahedron(int[] numLayers, int meshState, int iconMode, float realSize, Static4D quat, Static3D move, float scale, InputStream stream)
46
  public ShapeHexahedron(InitData data, int meshState, int iconMode, float realSize, Static4D quat, Static3D move, float scale, InputStream stream)
47 47
    {
48
    super(numLayers, meshState, iconMode, realSize, quat, move, scale, stream);
48
    super(data, meshState, iconMode, realSize, quat, move, scale, stream);
49 49
    }
50 50

  
51 51
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff