public Plane( Vector3 normal, Vector3 point ) { this.Normal = normal; this.D = -normal.Dot( point ); }
/// <summary> /// Redefine this plane based on a normal and a point. /// </summary> /// <param name="rkNormal">Normal vector</param> /// <param name="rkPoint">Point vector</param> public void Redefine( Vector3 rkNormal, Vector3 rkPoint ) { this.Normal = rkNormal; this.D = -rkNormal.Dot( rkPoint ); }