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/Static5D.java
50 50
    v = vv;
51 51
    }
52 52

  
53
///////////////////////////////////////////////////////////////////////////////////////////////////
54
/**
55
 * Copy constructor.
56
 */
57
  public Static5D(Static5D sta)
58
    {
59
    super(5);
60
    x = sta.x;
61
    y = sta.y;
62
    z = sta.z;
63
    w = sta.w;
64
    v = sta.v;
65
    }
66

  
53 67
///////////////////////////////////////////////////////////////////////////////////////////////////
54 68
/**
55 69
 * Reset the value of the floats to (vx,vy,vz,vw,vv).

Also available in: Unified diff