reverse orientation of camera volume 'lens'

This commit is contained in:
Nick Fisher
2025-07-07 17:21:36 +08:00
parent b4ea80a84c
commit 3c1b26af2c

View File

@@ -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);