|
@@ -109,7 +109,7 @@ class PolyhedronBufferGeometry extends BufferGeometry {
|
|
|
|
|
|
function subdivideFace( a, b, c, detail ) {
|
|
|
|
|
|
- const cols = Math.pow( 2, detail );
|
|
|
+ const cols = detail + 1;
|
|
|
|
|
|
// we use this multidimensional array as a data structure for creating the subdivision
|
|
|
|