Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
jannik4 committed Aug 16, 2024
1 parent b1e9304 commit ffd7119
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: screenshots.zip
asset_name: primes-screenshots.zip
asset_name: primes-screenshots-${{ steps.get_version.outputs.tag }}.zip
tag: ${{ github.ref }}
overwrite: true

Expand Down
4 changes: 2 additions & 2 deletions assets/shader.wgsl
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ fn vertex(vertex: Vertex) -> VertexOutput {
);

let position = scale * vertex.position + vec3<f32>(
prime * cos(angle - 0.002 * time) / 500.0,
prime * sin(angle - 0.002 * time) / 500.0,
prime * cos(angle - 0.002 * time) / 512.0,
prime * sin(angle - 0.002 * time) / 512.0,
0.0,
);

Expand Down
Binary file modified primes_800x400_5600_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/camera.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ impl Default for GameCameraBundle {
projection: OrthographicProjection {
far: 1000.,
near: -1000.,
scaling_mode: ScalingMode::FixedVertical(102.40),
scaling_mode: ScalingMode::FixedVertical(100.0),
..Default::default()
},
tonemapping: Tonemapping::TonyMcMapface,
Expand Down

0 comments on commit ffd7119

Please sign in to comment.