Project

General

Profile

« Previous | Next » 

Revision 6d62a900

Added by Leszek Koltunski almost 7 years ago

Beginnings of support for Effect classes.

View differences:

src/main/java/org/distorted/library/type/Static3D.java
29 29
public class Static3D extends Static2D  implements Data3D
30 30
  {
31 31
  float z;
32
  
32

  
33
///////////////////////////////////////////////////////////////////////////////////////////////////
34

  
35
  Static3D(int dim, float vx, float vy, float vz)
36
    {
37
    super(dim,vx,vy);
38
    z = vz;
39
    }
40

  
33 41
///////////////////////////////////////////////////////////////////////////////////////////////////
34 42
/**
35 43
 * Constructor that initialises the value of the three floats to (vx,vy,vz).   
......
40 48
 */ 
41 49
  public Static3D(int vx, int vy, int vz)
42 50
    {
43
    super(vx,vy);
51
    super(3,vx,vy);
44 52
    z = vz;
45 53
    }
46 54

  
......
54 62
 */ 
55 63
  public Static3D(float vx, float vy, float vz)
56 64
    {
57
    super(vx,vy);
65
    super(3,vx,vy);
58 66
    z = vz;
59 67
    }
60 68

  

Also available in: Unified diff