From 4b093224bb7f5155c0b6c3e07d359cc296c6e514 Mon Sep 17 00:00:00 2001
From: Udo Eisenbarth <u.eisenbarth@gsi.de>
Date: Thu, 24 Oct 2024 16:52:40 +0200
Subject: [PATCH] Change angle in mirror example.

---
 opossum/examples/mirror.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/opossum/examples/mirror.rs b/opossum/examples/mirror.rs
index ca155644..8afcf80e 100644
--- a/opossum/examples/mirror.rs
+++ b/opossum/examples/mirror.rs
@@ -31,7 +31,7 @@ fn main() -> OpmResult<()> {
     let i_m2 = scenery.add_node(
         &ThinMirror::new("mirror 2")
             .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_sd = scenery.add_node(&SpotDiagram::default())?;
-- 
GitLab