Maybe this will help you out.
https://hofk.de/main/threejs/BufferGeometry/buffer_withNormals.html
( see in discourse.threejs Problems with creating custom polyhedron geometry )
NOTE! .addAttribute
is now .setAttribute
Maybe this will help you out.
https://hofk.de/main/threejs/BufferGeometry/buffer_withNormals.html
( see in discourse.threejs Problems with creating custom polyhedron geometry )
NOTE! .addAttribute
is now .setAttribute