Skip to content

Commit

Permalink
Remove non used variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
kugimasa committed Aug 21, 2023
1 parent 1484753 commit 5043a19
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion resources/shader/compute-sample.wgsl
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,6 @@ fn sample_hit(r: Ray) -> HitInfo {

/// Möller–Trumbore intersection algorithm
fn intersect_tri(r: Ray, id: u32, closest: HitInfo) -> HitInfo {
var hit = false;
// 一時変数に格納
let tri = tris[id];
let start = r.start.xyz;
Expand Down

0 comments on commit 5043a19

Please sign in to comment.