Project

General

Profile

« Previous | Next » 

Revision e7daa161

Added by Leszek Koltunski over 2 years ago

- remove the retarded NODE_RATIO from TwistyObject
- more correctly estimate Cuboid's 'realSize' as an average of their 3 sizes.

View differences:

src/main/java/org/distorted/objectlib/objects/TwistyBandagedAbstract.java
81 81
///////////////////////////////////////////////////////////////////////////////////////////////////
82 82

  
83 83
  TwistyBandagedAbstract(int[] numL, Static4D quat, Static3D move, DistortedTexture texture,
84
                         MeshSquare mesh, DistortedEffects effects, Resources res, int scrWidth)
84
                         MeshSquare mesh, DistortedEffects effects, Resources res, int surfaceW, int surfaceH)
85 85
    {
86
    super(numL, numL[0], quat, move, texture, mesh, effects, res, scrWidth);
86
    super(numL, numL[0], quat, move, texture, mesh, effects, res, surfaceW, surfaceH);
87 87
    }
88 88

  
89 89
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff