InfinitePlane(Point3 origin, Vector3 normal, [Shader shader])

Creates a new InfinitePlane from the given origin, normal and shader.

Source

InfinitePlane(Point3 this.origin, Vector3 normal, [Shader shader]) : super(shader){
  double w = -normal.dot(origin);
  equation = new Vector4(normal.x, normal.y, normal.z ,w);
}