Project

General

Profile

« Previous | Next » 

Revision ecf3d6e3

Added by Leszek Koltunski over 2 years ago

1) introduce possibility to move objects, i.e. display them not in the middle of the screen (not fully functional yet)
2) do away with unneeded any more interface 'EffectController' - since ObjectPreRender is the only implementation now.

View differences:

src/main/java/org/distorted/objectlib/objects/TwistyRex.java
73 73

  
74 74
///////////////////////////////////////////////////////////////////////////////////////////////////
75 75

  
76
  public TwistyRex(int size, Static4D quat, DistortedTexture texture, MeshSquare mesh,
77
                   DistortedEffects effects, Resources res, int scrWidth)
76
  public TwistyRex(int size, Static4D quat, Static3D move, DistortedTexture texture,
77
                   MeshSquare mesh, DistortedEffects effects, Resources res, int scrWidth)
78 78
    {
79
    super(size, size, quat, texture, mesh, effects, res, scrWidth);
79
    super(size, size, quat, move, texture, mesh, effects, res, scrWidth);
80 80
    }
81 81

  
82 82
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff