Project

General

Profile

« Previous | Next » 

Revision 81141862

Added by Leszek Koltunski over 2 years ago

Remove the 'setupObject()' redundant API.

View differences:

src/main/java/org/distorted/objectlib/main/TwistyObject.java
137 137

  
138 138
///////////////////////////////////////////////////////////////////////////////////////////////////
139 139

  
140
  TwistyObject(int numLayers, int realSize, Static4D quat, DistortedTexture nodeTexture, MeshSquare nodeMesh,
141
               DistortedEffects nodeEffects, int[][] moves, Resources res, int screenWidth)
140
  TwistyObject(int numLayers, int realSize, Static4D quat, DistortedTexture nodeTexture,
141
               MeshSquare nodeMesh, DistortedEffects nodeEffects, Resources res, int screenWidth)
142 142
    {
143 143
    super(nodeTexture,nodeEffects,nodeMesh);
144 144

  
......
239 239

  
240 240
    attach( new DistortedNode(mTexture,mEffects,mMesh) );
241 241

  
242
    setupPosition(moves);
243

  
244 242
    float fov = getFOV();
245 243
    double halfFOV = fov * (Math.PI/360);
246 244
    mCameraDist = 0.5f*NODE_RATIO / (float)Math.tan(halfFOV);

Also available in: Unified diff