Project

General

Profile

« Previous | Next » 

Revision bff329fb

Added by Leszek Koltunski almost 3 years ago

Copy constructors for the Statics.

View differences:

src/main/java/org/distorted/library/type/Static4D.java
48 48
    w = vw;
49 49
    }
50 50

  
51
///////////////////////////////////////////////////////////////////////////////////////////////////
52
/**
53
 * Copy constructor.
54
 */
55
  public Static4D(Static4D sta)
56
    {
57
    super(4);
58
    x = sta.x;
59
    y = sta.y;
60
    z = sta.z;
61
    w = sta.w;
62
    }
63

  
51 64
///////////////////////////////////////////////////////////////////////////////////////////////////
52 65
/**
53 66
 * Reset the value of the floats to (vx,vy,vz,vw).

Also available in: Unified diff