Project

General

Profile

« Previous | Next » 

Revision b1f2ccf5

Added by Leszek Koltunski about 3 years ago

Convert the first object, the Cube, to the new Cubit-creating engine.

View differences:

src/main/java/org/distorted/objects/TwistyRex.java
137 137
    super(size, size, quat, texture, mesh, effects, moves, ObjectList.REX, res, scrWidth);
138 138
    }
139 139

  
140
///////////////////////////////////////////////////////////////////////////////////////////////////
141
// don't use this
142

  
143
  double[][] getVertices(int cubitType)
144
    {
145
    return null;
146
    }
147

  
148
///////////////////////////////////////////////////////////////////////////////////////////////////
149
// don't use this
150

  
151
  int[][] getVertIndexes(int cubitType)
152
    {
153
    return null;
154
    }
155

  
156
///////////////////////////////////////////////////////////////////////////////////////////////////
157

  
158
  int getNumCubitTypes(int numLayers)
159
    {
160
    return 2;
161
    }
162

  
140 163
///////////////////////////////////////////////////////////////////////////////////////////////////
141 164

  
142 165
  float getScreenRatio()

Also available in: Unified diff