diff --git a/TestViewer/MainWindow.xaml.cs b/TestViewer/MainWindow.xaml.cs index 6fd7898..8eade2e 100644 --- a/TestViewer/MainWindow.xaml.cs +++ b/TestViewer/MainWindow.xaml.cs @@ -248,12 +248,12 @@ private void DrawImages (uint frame) bboxZY.origin_x = bbox.origin_x + bbox.dir1_x / 2; bboxZY.origin_y = bbox.origin_y + bbox.dir1_y / 2; bboxZY.origin_z = bbox.origin_z + bbox.dir1_z / 2; - bboxZY.dir1_x = bbox.dir3_x; - bboxZY.dir1_y = bbox.dir3_y; - bboxZY.dir1_z = bbox.dir3_z; - bboxZY.dir2_x = bbox.dir2_x; - bboxZY.dir2_y = bbox.dir2_y; - bboxZY.dir2_z = bbox.dir2_z; + bboxZY.dir1_x = bbox.dir2_x; + bboxZY.dir1_y = bbox.dir2_y; + bboxZY.dir1_z = bbox.dir2_z; + bboxZY.dir2_x = bbox.dir3_x; + bboxZY.dir2_y = bbox.dir3_y; + bboxZY.dir2_z = bbox.dir3_z; bboxZY.dir3_x = 0; bboxZY.dir3_y = 0; bboxZY.dir3_z = 0;