Function SurfaceTool.generateNormals
Generates normals from vertices so you do not have to do it manually. If flip
is true
, the resulting normals will be inverted.
Requires the primitive type to be set to constant Mesh
.
void generateNormals
(
const(bool) flip = false
) nothrow @nogc;