fromCoplanarPoints method

Plane fromCoplanarPoints(
  1. Vector3 a,
  2. Vector3 b,
  3. Vector3 c
)

Sets the values of the plane from three given coplanar points.

Implementation

Plane fromCoplanarPoints(Vector3 a, Vector3 b, Vector3 c ) {
	v1.subVectors( c, b ).cross( v2.subVectors( a, b ) ).normalize();
	fromNormalAndCoplanarPoint( v1, a );

	return this;
}