Merge branch 'master' into beacon
This commit is contained in:
commit
a90b1fba89
14 changed files with 41 additions and 42 deletions
|
|
@ -38,7 +38,7 @@ fn vs_main(input: VertexInput) -> VertexOutput {
|
|||
out.opacity = input.opacity;
|
||||
|
||||
// Calculate the vertex position and move the center to the origin
|
||||
v_pos = input.pos + v_pos * input.scale - input.center;
|
||||
v_pos = round(input.pos) + v_pos * input.scale - input.center;
|
||||
|
||||
// Apply the rotation around the center of the image
|
||||
let cos_rot = cos(input.rotation);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue