Add simple tests & remove !
This commit is contained in:
parent
0735dd764f
commit
be0a49a11f
17 changed files with 1418 additions and 124 deletions
|
|
@ -2,7 +2,6 @@ import { vec2 } from 'gl-matrix';
|
|||
|
||||
import { clamp } from '../../utils/clamp';
|
||||
import { smartCompile } from '../../utils/graphics/smart-compile';
|
||||
import { last } from '../../utils/last';
|
||||
import { CommonState } from '../common-state/common-state';
|
||||
import { BrushSettings } from './brush-settings';
|
||||
import shader from './brush.wgsl?raw';
|
||||
|
|
@ -188,7 +187,7 @@ export class BrushPipeline {
|
|||
result.push(position);
|
||||
}
|
||||
|
||||
result.push(last(points)!);
|
||||
result.push(points[points.length - 1]);
|
||||
|
||||
return result;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue