Reduces projection

This commit is contained in:
Steve Ruiz 2021-06-12 17:41:38 +01:00
parent 58c9fc9f83
commit f90f51efc7

View file

@ -84,7 +84,7 @@ export default class BrushSession extends BaseSession {
const nextPrev = vec.med(this.previous, point)
// A delta to project the projected point
const offset = vec.mul(vec.sub(nextPrev, this.previous), 2)
const offset = vec.sub(nextPrev, this.previous)
this.previous = nextPrev