Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Equals() [2/3]

readonly bool System.Numerics.Plane.Equals ( Plane other)
inline

Definition at line 174 of file Plane.cs.

175 {
176 if (Vector.IsHardwareAccelerated)
177 {
178 if (Normal.Equals(other.Normal))
179 {
180 return D == other.D;
181 }
182 return false;
183 }
184 if (Normal.X == other.Normal.X && Normal.Y == other.Normal.Y && Normal.Z == other.Normal.Z)
185 {
186 return D == other.D;
187 }
188 return false;
189 }
override readonly bool Equals([NotNullWhen(true)] object? obj)
Definition Vector3.cs:347

References System.Numerics.Plane.D, System.Numerics.Vector3.Equals(), System.Numerics.Vector< T >.IsHardwareAccelerated, System.Numerics.Plane.Normal, System.other, System.Numerics.Vector3.X, System.Numerics.Vector3.Y, and System.Numerics.Vector3.Z.