Skip to content

Commit

Permalink
deploy: e86d5d8
Browse files Browse the repository at this point in the history
  • Loading branch information
bircni committed Jan 24, 2024
1 parent a682515 commit ad11ef1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/raytracing/raytracer/mod.rs.html
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@
origin: hit.point + hit.normal * <span class="self">self</span>.delta,
direction: <span class="self">Self</span>::reflect(ray.direction, hit.normal),
};
color = color.component_mul(<span class="kw-2">&amp;</span><span class="self">self</span>.shade(reflection_ray, depth + <span class="number">1</span>));
color += color.component_mul(<span class="kw-2">&amp;</span><span class="self">self</span>.shade(reflection_ray, depth + <span class="number">1</span>));
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/raytracing/scene/settings.rs.html
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
max_bounces: <span class="number">4</span>,
samples: <span class="number">1</span>,
ambient_color: Color::new(<span class="number">0.34</span>, <span class="number">0.14</span>, <span class="number">0.04</span>).normalize(),
ambient_intensity: <span class="number">0.5</span>,
ambient_intensity: <span class="number">0.2</span>,
skybox: Skybox::default(),
anti_aliasing: <span class="bool-val">false</span>,
}
Expand Down
2 changes: 1 addition & 1 deletion src/raytracing/ui/preview/mod.rs.html
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@
Align2::LEFT_TOP,
Color32::WHITE,
<span class="macro">format!</span>(
<span class="string">&quot;{}\n{} {:.2}\n{} {:.2}\n{}\n{}&quot;</span>,
<span class="string">&quot;{}\n{} {:.2}\n{} {:.4}\n{}\n{}&quot;</span>,
<span class="macro">t!</span>(<span class="string">&quot;wasd&quot;</span>),
<span class="macro">t!</span>(<span class="string">&quot;qe&quot;</span>),
<span class="self">self</span>.speed,
Expand Down

0 comments on commit ad11ef1

Please sign in to comment.