Revision ecf3d6e3
Added by Leszek Koltunski over 2 years ago
src/main/java/org/distorted/objectlib/objects/TwistySquare2.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 |
import org.distorted.objectlib.R; |
... | ... | |
47 | 48 |
|
48 | 49 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
49 | 50 |
|
50 |
public TwistySquare2(int size, Static4D quat, DistortedTexture texture, MeshSquare mesh,
|
|
51 |
DistortedEffects effects, Resources res, int scrWidth) |
|
51 |
public TwistySquare2(int size, Static4D quat, Static3D move, DistortedTexture texture,
|
|
52 |
MeshSquare mesh, DistortedEffects effects, Resources res, int scrWidth)
|
|
52 | 53 |
{ |
53 |
super(size, quat, texture, mesh, effects, res, scrWidth); |
|
54 |
super(size, quat, move, texture, mesh, effects, res, scrWidth);
|
|
54 | 55 |
} |
55 | 56 |
|
56 | 57 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
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.