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

◆ DotNormal()

static float System.Numerics.Plane.DotNormal ( Plane plane,
Vector3 value )
inlinestatic

Definition at line 75 of file Plane.cs.

76 {
77 if (Vector.IsHardwareAccelerated)
78 {
79 return Vector3.Dot(plane.Normal, value);
80 }
81 return plane.Normal.X * value.X + plane.Normal.Y * value.Y + plane.Normal.Z * value.Z;
82 }

References System.Numerics.Vector3.Dot(), System.Numerics.Vector< T >.IsHardwareAccelerated, System.Numerics.Plane.Normal, and System.value.