diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2019-01-27 19:38:08 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2019-01-27 19:39:13 +0100 |
| commit | 93a7fae69e5c3a45515a309cfcd96a0fa90a602b (patch) | |
| tree | 9b6accc61a20be6bf813e4ad367237d96f1c7176 /client/splash/face/index.js | |
| parent | 25b35038ae1f9cdfa222da44b7a4ddfd47713e3e (diff) | |
add mesh of your typical everyman
Diffstat (limited to 'client/splash/face/index.js')
| -rw-r--r-- | client/splash/face/index.js | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/client/splash/face/index.js b/client/splash/face/index.js index fe21f52b..f52ac57b 100644 --- a/client/splash/face/index.js +++ b/client/splash/face/index.js @@ -1,5 +1,8 @@ -import DRACOLoader from '../../util/vendor/DRACOLoader' -import GeometryHelper from '../../util/vendor/geometryHelper' +import faces from './faces' -DRACOLoader.setDecoderPath('/assets/js/vendor/draco/') -var dracoLoader = new THREE.DRACOLoader(); +const names = Object.keys(faces) + +function load(){ + const name = choice(names) + +}
\ No newline at end of file |
