init(normal:bias:)
Creates a plane shape with the given normal and surface displacement.
Declaration
init(normal: SIMD3<Float>, bias: Float)Parameters
- normal:
The normal vector determining the orientation of the plane.
- bias:
The distance by which the plane’s surface is displaced along its normal.