Last active
May 22, 2018 20:49
-
-
Save emilwidlund/d95dee04b3be8f9880a85a2a8b84223c to your computer and use it in GitHub Desktop.
This file contains hidden or 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 Model | |
| path: './models/plate.obj' | |
| parent: scene | |
| scale: 30 | |
| y: 100 | |
| rotationX:30 | |
| material: new THREE.MeshPhongMaterial | |
| color: 0xffffff | |
| specular: 0xffffff | |
| shininess: 20 | |
| vertexColors: THREE.FaceColors | |
| flatShading: true | |
| onLoad: (modelA) -> | |
| clock = new THREE.Clock | |
| new Model | |
| path: './models/arm.obj' | |
| parent: modelA | |
| scale: 30 | |
| material: new THREE.MeshPhongMaterial | |
| color: 0xffffff | |
| specular: 0xffffff | |
| shininess: 20 | |
| vertexColors: THREE.FaceColors | |
| flatShading: true | |
| onLoad: (modelB) -> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment