Introducing: CSG2

The toMesh function allows you to ask the system to recompute the normals:

{
    /**
     * Rebuild normals (false by default)
     */
    rebuildNormals: boolean;
    /**
     * True to center the mesh on 0,0,0. True by default
     */
    centerMesh?: boolean;
}

(But you can also ask for it with mesh.createNormals())

2 Likes