/** vector in 3-space; immutable */
public final class Vec {
+
+ public static final Vec ZERO = new Vec(0,0,0);
+
public final float x, y, z;
public Vec(double x, double y, double z) { this((float)x, (float)y, (float)z); }
public Vec(float x, float y, float z) { this.x = x; this.y = y; this.z = z; }