summaryrefslogtreecommitdiff
path: root/client/splash/face/index.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2019-01-28 17:57:38 +0100
committerJules Laplace <julescarbon@gmail.com>2019-01-28 17:57:38 +0100
commitc6da699f18426079435ad4664e7c715386ff82c0 (patch)
treecea63afb3c4e8e56fc2cc8f773f12e5618683cea /client/splash/face/index.js
parent0c0c2ec2ecfd64b16ff6ca0e69142223615f0c36 (diff)
display a random face
Diffstat (limited to 'client/splash/face/index.js')
-rw-r--r--client/splash/face/index.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/client/splash/face/index.js b/client/splash/face/index.js
index 157a51cf..4090a9fa 100644
--- a/client/splash/face/index.js
+++ b/client/splash/face/index.js
@@ -4,7 +4,7 @@ import * as markers from './markers'
import * as mesh from './mesh'
export function init() {
- const name = names[0]
+ const name = choice(names)
const face = faces[name]
markers.build(face)
mesh.load(name)
@@ -14,9 +14,9 @@ export function load() {
const name = choice(names)
const face = faces[name]
markers.swap(face)
- mesh.load(name)
+ // mesh.load(name)
}
-export function update(){
- markers.update()
-} \ No newline at end of file
+export function update() {
+ // markers.update()
+}