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/Static1D.java
42 42
    x = ox;
43 43
    }
44 44

  
45
///////////////////////////////////////////////////////////////////////////////////////////////////
46
/**
47
 * Copy constructor.
48
 */
49
  public Static1D(Static1D sta)
50
    {
51
    super(1);
52
    x = sta.x;
53
    }
54

  
45 55
///////////////////////////////////////////////////////////////////////////////////////////////////
46 56
/**
47 57
 * Resets the value of the single float.

Also available in: Unified diff