Skip to content

Commit 81df327

Browse files
committed
Removed cube() and polyhedron() aliases
1 parent 2ddd62a commit 81df327

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

src/myr/Myr.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -986,7 +986,7 @@ class Myr {
986986
*
987987
* @param {*} params !!!DESCRIPTION NEEDED!!!
988988
*/
989-
polyhedron = (params) => {
989+
prism = (params) => {
990990
let base = {
991991
id: "poly" + this.genNewId(),
992992
geometry: `primitive: sphere; segmentsWidth: 2; segmentsHeight: 8; phi-length: ${this.cursor.phiLength};`,
@@ -1308,12 +1308,6 @@ class Myr {
13081308
}
13091309
}
13101310

1311-
// Prism is an alias for Polyhedron
1312-
prism = this.polyhedron
1313-
1314-
// Cube is an alias for Box
1315-
cube = this.box
1316-
13171311
/********************* ANIMATIONS *********************/
13181312

13191313
/**

0 commit comments

Comments
 (0)