jnnan commited on
Commit
d7240af
1 Parent(s): bfa7159

Update static/index.js

Browse files
Files changed (1) hide show
  1. static/index.js +1 -1
static/index.js CHANGED
@@ -145,7 +145,7 @@ function init() {
145
  mouse.x = ((event.x - rect.left) / rect.width) * 2 - 1;
146
  mouse.y = -((event.y - rect.top) / rect.height) * 2 + 1;
147
 
148
- if (isDrawing && pointerDown && points.length < 200) {
149
  raycaster.setFromCamera(mouse, camera);
150
  const intersects = raycaster.intersectObject(plane);
151
  const point = intersects[0].point;
 
145
  mouse.x = ((event.x - rect.left) / rect.width) * 2 - 1;
146
  mouse.y = -((event.y - rect.top) / rect.height) * 2 + 1;
147
 
148
+ if (isDrawing && pointerDown && points.length < 150) {
149
  raycaster.setFromCamera(mouse, camera);
150
  const intersects = raycaster.intersectObject(plane);
151
  const point = intersects[0].point;