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/main/Twisty6.java
24 24
import org.distorted.library.main.DistortedEffects;
25 25
import org.distorted.library.main.DistortedTexture;
26 26
import org.distorted.library.mesh.MeshSquare;
27
import org.distorted.library.type.Static3D;
27 28
import org.distorted.library.type.Static4D;
28 29

  
29 30
///////////////////////////////////////////////////////////////////////////////////////////////////
......
39 40

  
40 41
///////////////////////////////////////////////////////////////////////////////////////////////////
41 42

  
42
  public Twisty6(int numLayers, int realSize, Static4D quat, DistortedTexture texture,
43
  public Twisty6(int numLayers, int realSize, Static4D quat, Static3D move, DistortedTexture texture,
43 44
                 MeshSquare mesh, DistortedEffects effects, Resources res, int scrWidth)
44 45
    {
45
    super(numLayers, realSize, quat, texture, mesh, effects, res, scrWidth);
46
    super(numLayers, realSize, quat, move, texture, mesh, effects, res, scrWidth);
46 47
    }
47 48

  
48 49
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff