Browse Source

Reduces projection

main
Steve Ruiz 4 years ago
parent
commit
f90f51efc7
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      state/sessions/draw-session.ts

+ 1
- 1
state/sessions/draw-session.ts View File

84
     const nextPrev = vec.med(this.previous, point)
84
     const nextPrev = vec.med(this.previous, point)
85
 
85
 
86
     // A delta to project the projected point
86
     // A delta to project the projected point
87
-    const offset = vec.mul(vec.sub(nextPrev, this.previous), 2)
87
+    const offset = vec.sub(nextPrev, this.previous)
88
 
88
 
89
     this.previous = nextPrev
89
     this.previous = nextPrev
90
 
90
 

Loading…
Cancel
Save