Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
sunag committed Jan 28, 2025
1 parent b145cd2 commit 46cb1dd
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions examples/webgpu_struct_drawindirect.html
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
instances: instances,
index: instanceIndex,
time: time
} ).compute( instances ); //not neccessary in this case but normally one wants to run through all instances
} ).compute( instances ); // not neccessary in this case but normally one wants to run through all instances

const initDrawBuffer = wgslFn( `
fn compute(
Expand All @@ -161,12 +161,12 @@
const vColor = varyingProperty( 'vec4', 'vColor' );

const positionShaderParams = {
position: attribute( 'position' ),
offset: attribute( 'offset' ),
color: attribute( 'color' ),
orientationStart: attribute( 'orientationStart' ),
orientationEnd: attribute( 'orientationEnd' ),
time: time
position: attribute( 'position' ),
offset: attribute( 'offset' ),
color: attribute( 'color' ),
orientationStart: attribute( 'orientationStart' ),
orientationEnd: attribute( 'orientationEnd' ),
time: time
};

const positionShader = wgslFn( `
Expand Down

0 comments on commit 46cb1dd

Please sign in to comment.