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/TwistySquare.java
64 64

  
65 65
///////////////////////////////////////////////////////////////////////////////////////////////////
66 66

  
67
  TwistySquare(int size, Static4D quat, DistortedTexture texture, MeshSquare mesh,
68
               DistortedEffects effects, Resources res, int scrWidth)
67
  TwistySquare(int size, Static4D quat, Static3D move, DistortedTexture texture,
68
               MeshSquare mesh, DistortedEffects effects, Resources res, int scrWidth)
69 69
    {
70
    super(size, size, quat, texture, mesh, effects, res, scrWidth);
70
    super(size, size, quat, move, texture, mesh, effects, res, scrWidth);
71 71
    }
72 72

  
73 73
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff