We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In the file "csg.js/csg.js" line48: vertex = new ThreeBSP.Vertex( vertex.x, vertex.y, vertex.z, face.vertexNormals[2], uvs );
I think we should get the normal from the array vertexNormals with key 1 instead of key 2:
vertex = new ThreeBSP.Vertex( vertex.x, vertex.y, vertex.z, face.vertexNormals[1], uvs );
Thanks, Radhwane C.
The text was updated successfully, but these errors were encountered:
Why's that?
Sorry, something went wrong.
Because you should use all the normal while you're using twice the vertexNormals[2].
There is already a pull request for this issue here
Merged #16
No branches or pull requests
In the file "csg.js/csg.js" line48:
vertex = new ThreeBSP.Vertex( vertex.x, vertex.y, vertex.z, face.vertexNormals[2], uvs );
I think we should get the normal from the array vertexNormals with key 1 instead of key 2:
vertex = new ThreeBSP.Vertex( vertex.x, vertex.y, vertex.z, face.vertexNormals[1], uvs );
Thanks,
Radhwane C.
The text was updated successfully, but these errors were encountered: