diff --git a/site/examples/canvas/index.html b/site/examples/canvas/index.html index 0b2fee4a..33f6e2ba 100644 --- a/site/examples/canvas/index.html +++ b/site/examples/canvas/index.html @@ -52,11 +52,11 @@ .addComponent(Movement); var circle = entity.getMutableComponent(Circle); - circle.position.set(random(0, canvas.width), random(0, canvas.height), 0); + circle.position.set(random(0, canvas.width), random(0, canvas.height)); circle.radius = random(20, 100); var movement = entity.getMutableComponent(Movement); - movement.velocity.set(random(-20, 20), random(-20, 20), 0); + movement.velocity.set(random(-20, 20), random(-20, 20)); } window.world = world; @@ -82,4 +82,4 @@ - \ No newline at end of file +