reverse orientation of camera volume 'lens'
This commit is contained in:
@@ -589,8 +589,8 @@ static Geometry camera({
|
|||||||
|
|
||||||
// === CONICAL LENS ===
|
// === CONICAL LENS ===
|
||||||
int segments = 16;
|
int segments = 16;
|
||||||
double lensApexZ = halfDepth; // Apex touches the front face (short face)
|
double lensApexZ = -halfDepth; // Apex touches the front face (short face)
|
||||||
double lensBaseZ = halfDepth + lensLength; // Base extends outward along Z-axis
|
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)
|
// 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);
|
addVertex(0, 0, lensApexZ, 0, 0, -1, 0.5, 0);
|
||||||
|
|||||||
Reference in New Issue
Block a user