Skip to content
Snippets Groups Projects
Commit 4b093224 authored by Udo Eisenbarth's avatar Udo Eisenbarth :speech_balloon:
Browse files

Change angle in mirror example.

parent d21a0e3b
No related branches found
No related tags found
No related merge requests found
Pipeline #13762 passed
...@@ -31,7 +31,7 @@ fn main() -> OpmResult<()> { ...@@ -31,7 +31,7 @@ fn main() -> OpmResult<()> {
let i_m2 = scenery.add_node( let i_m2 = scenery.add_node(
&ThinMirror::new("mirror 2") &ThinMirror::new("mirror 2")
.with_curvature(millimeter!(-100.0))? .with_curvature(millimeter!(-100.0))?
.with_tilt(degree!(22.5, 0.0, 0.0))?, .with_tilt(degree!(-22.5, 0.0, 0.0))?,
)?; )?;
let i_prop_vis = scenery.add_node(&RayPropagationVisualizer::default())?; let i_prop_vis = scenery.add_node(&RayPropagationVisualizer::default())?;
let i_sd = scenery.add_node(&SpotDiagram::default())?; let i_sd = scenery.add_node(&SpotDiagram::default())?;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment