Triangular Pyramid

If you add two more triangles in this example BufferGeometry , you have a tetrahedron.

You can adjust the values as you like.

Note .addAttribute is now .setAttribute


From the collection