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/TwistyBandagedEvil.java
36 36
public class TwistyBandagedEvil extends TwistyBandagedAbstract
37 37
{
38 38
  public TwistyBandagedEvil(int[] numL, Static4D quat, Static3D move, DistortedTexture texture, MeshSquare mesh,
39
                            DistortedEffects effects, Resources res, int scrWidth)
39
                            DistortedEffects effects, Resources res, int surfaceW, int surfaceH)
40 40
    {
41
    super(numL, quat, move, texture, mesh, effects, res, scrWidth);
41
    super(numL, quat, move, texture, mesh, effects, res, surfaceW, surfaceH);
42 42
    }
43 43

  
44 44
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff