bool operator!=(const R3Vector& lhs, const R3Vector& rhs) { return (lhs.x() != rhs.x() || lhs.y() != rhs.y() || lhs.z() != rhs.z()); }
R3Vector R3Vector::VecMult(const R3Vector& lhs, const R3Vector& rhs) { return R3Vector(lhs.y()*rhs.z() - lhs.z()*rhs.y(), lhs.z()*rhs.x() - lhs.x()*rhs.z(), lhs.x()*rhs.y() - lhs.y()*rhs.x()); }
bool operator==(const R3Vector& lhs, const R3Vector& rhs) { return (lhs.x()==rhs.x() && lhs.y()==rhs.y() && lhs.z()==rhs.z()); }