Improve variable semantics
This commit is contained in:
parent
5dc943bb91
commit
0f5dd1f820
1 changed files with 1 additions and 1 deletions
|
|
@ -123,7 +123,7 @@ export class BrushPipeline {
|
|||
this.device.queue.writeBuffer(
|
||||
this.uniforms,
|
||||
0,
|
||||
new Float32Array([brushWidth / 2, brushWidthRandomness])
|
||||
new Float32Array([brushWidth / 2, (brushWidth / 2) * brushWidthRandomness])
|
||||
);
|
||||
|
||||
this.actualPoints = this.linePoints.slice();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue