public Vector4(Mathd.Vector4 vec4) { w_ = vec4.w; x_ = vec4.x; y_ = vec4.y; z_ = vec4.z; }
// Dot Product // The angle between two vectors // If the same vector is used both sides = magnitude of the vector, squared static public float DotProduct(Mathd.Vector4 lhs, Mathd.Vector4 rhs) { return((lhs.w * rhs.w) + (lhs.x * rhs.x) + (lhs.y * rhs.y) + (lhs.z * rhs.z)); }