Plane constructor
Plane(
- ShapeConfig config, [
- Vector3? normal
Plane Shape
config
config file of the shape
normal
the direction of the plane
Implementation
Plane(ShapeConfig config, [Vector3? normal]):super(config){
this.normal = normal ?? Vector3( 0, 0, 1 );
type = Shapes.plane;
}