Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
material: { | |
kind: "basic", // Material type. | |
// Three.js properties. | |
color: 0xff0000, | |
opacity: 0.5, | |
transparent: true, | |
side: THREE.DoubleSide | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
WHS.API.extend({ | |
bannanas: 10, | |
apples: 15, | |
pineapples: 20 | |
}, { | |
apples: 10, | |
chocolate: 12 | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
bannanas: 10, | |
apples: 15, | |
pineapples: 20, | |
chocolate: 12 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
new THREE.BoxGeometry( | |
params.geometry.width, | |
params.geometry.height, | |
params.geometry.depth | |
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
new THREE.SphereGeometry( | |
params.geometry.radius, | |
params.geometry.segmentA, | |
params.geometry.segmentB | |
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
new THREE.PlaneGeometry( | |
params.geometry.width, | |
params.geometry.height, | |
params.geometry.segments | |
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
new THREE.CylinderGeometry( | |
params.geometry.radiusTop, | |
params.geometry.radiusBottom, | |
params.geometry.height, | |
params.geometry.radiusSegments | |
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
new THREE.DodecahedronGeometry( | |
params.geometry.radius, | |
params.geometry.detail | |
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
new THREE.IcosahedronGeometry( | |
params.geometry.radius, | |
params.geometry.detail | |
); |
OlderNewer