From 3c1b26af2cd6043e8f9b141c3f16726f8293897f Mon Sep 17 00:00:00 2001 From: Nick Fisher Date: Mon, 7 Jul 2025 17:21:36 +0800 Subject: [PATCH] reverse orientation of camera volume 'lens' --- thermion_dart/lib/src/utils/src/geometry.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/thermion_dart/lib/src/utils/src/geometry.dart b/thermion_dart/lib/src/utils/src/geometry.dart index 5d81808a..16f0dcf2 100644 --- a/thermion_dart/lib/src/utils/src/geometry.dart +++ b/thermion_dart/lib/src/utils/src/geometry.dart @@ -589,8 +589,8 @@ static Geometry camera({ // === CONICAL LENS === int segments = 16; - double lensApexZ = halfDepth; // Apex touches the front face (short face) - double lensBaseZ = halfDepth + lensLength; // Base extends outward along Z-axis + double lensApexZ = -halfDepth; // Apex touches the front face (short face) + double lensBaseZ = -halfDepth - lensLength; // Base extends outward along Z-axis // Lens apex (tip of the cone - touching the camera body at center of front face) addVertex(0, 0, lensApexZ, 0, 0, -1, 0.5, 0);