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/TwistyDino.java
73 73
///////////////////////////////////////////////////////////////////////////////////////////////////
74 74

  
75 75
  TwistyDino(int[] numL, Static4D quat, Static3D move, DistortedTexture texture,
76
             MeshSquare mesh, DistortedEffects effects, Resources res, int scrWidth)
76
             MeshSquare mesh, DistortedEffects effects, Resources res, int surfaceW, int surfaceH)
77 77
    {
78
    super(numL, numL[0], quat, move, texture, mesh, effects, res, scrWidth);
78
    super(numL, numL[0], quat, move, texture, mesh, effects, res, surfaceW, surfaceH);
79 79
    }
80 80

  
81 81
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff