fix_shape_normal_order
fix_shape_normal_order(shape) ⇒ Float32Array
Depending on the direction in which shape winds, normals of the generated geometry faces might end up flipped, so we pre-process the shape to avoid that here
Kind: global function
Param | Type |
---|---|
shape | Array.<number> | Float32Array |