Skip to content

Commit

Permalink
Fix missing conversion (#16139)
Browse files Browse the repository at this point in the history
Co-authored-by: David Catuhe <david@catuhe.com>
  • Loading branch information
deltakosh and David Catuhe authored Feb 3, 2025
1 parent 68522ff commit 50cff1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/dev/core/src/ShadersWGSL/particles.vertex.fx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ fn rotateAlign(toCamera: vec3f, rotatedCorner: vec3f) -> vec3f {
var rotMatrix: mat3x3f = mat3x3f(row0, row1, row2);

var alignedCorner: vec3f = rotMatrix * rotatedCorner;
return input.position + alignedCorner;
return vertexInputs.position + alignedCorner;
}
#endif

Expand Down

0 comments on commit 50cff1c

Please sign in to comment.