Quad.points constructor

Quad.points(
  1. Vector3 point0,
  2. Vector3 point1,
  3. Vector3 point2,
  4. Vector3 point3
)

Create a quad by four points.

Implementation

Quad.points(Vector3 point0, Vector3 point1, Vector3 point2, Vector3 point3)
    : _point0 = new Vector3.copy(point0),
      _point1 = new Vector3.copy(point1),
      _point2 = new Vector3.copy(point2),
      _point3 = new Vector3.copy(point3);