Skip to main content

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

ParamType
shapeArray.<number> | Float32Array