public float dot(vec3 a) { return(a.x * x + a.y * y + a.z * z); }
public static float dot(vec3 a, vec3 b) { return(a.x * b.x + a.y * b.y + a.z * b.z); }
public vec3(vec3 v) { e[0] = v.e[0]; e[1] = v.e[1]; e[2] = v.e[2]; }