public static void DotCoordinate(ref Plane3 plane, ref Vector3 vector, out float result) { result = (plane.Normal.X * vector.X) + (plane.Normal.Y * vector.Y) + (plane.Normal.Z * vector.Z) + plane.Distance; }