Exemplo n.º 1
0
 public Plane( Vector3 normal, Vector3 point )
 {
     this.Normal = normal;
     this.D = -normal.Dot( point );
 }
Exemplo n.º 2
0
 /// <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 );
 }