PlaneGeometry constructor
Builds a plane of the given size and subdivision.
Implementation
factory PlaneGeometry({
double width = 1.0,
double depth = 1.0,
int segmentsX = 1,
int segmentsZ = 1,
}) {
return PlaneGeometry._(
buildPlaneArrays(
width: width,
depth: depth,
segmentsX: segmentsX,
segmentsZ: segmentsZ,
),
);
}