opensim/OpenSim/Framework/Util.cs
/// <summary>
/// Returns if a vector is a zero vector (has all zero components)
/// </summary>
/// <returns></returns>
Returns if a vector is a zero vector (has all zero components)
Returns if a vector is a zero vector ( has all zero components )
public static bool IsZeroVector(Vector3 v)
        {
            if (v.X == 0 && v.Y == 0 && v.Z == 0)
            {
                return true;
            }
            return false;
        }
public static bool IsZeroVector ( Vector3 v ) { if ( v . X == 0 && v . Y == 0 && v . Z == 0 ) { return true ; } return false ; }
Returns if a vector is a zero vector (has all zero components)
Returns if a vector is a zero vector ( has all zero components )
None
v
Vector3