4
0
mirror of https://github.com/nerfstudio-project/nerfstudio.git synced 2026-11-11 10:34:29 +08:00

Prettified Code!

This commit is contained in:
ethanweber 2022-09-11 07:45:02 +00:00 committed by GitHub Action
parent 5b8f0f0204
commit 4c9999b7e7

View File

@ -129,7 +129,7 @@ export function drawCamera(camera): THREE.Object3D {
const height = 0.05;
const displayedFocalLength = height;
const width = height * camera.cx / camera.cy;
const width = (height * camera.cx) / camera.cy;
const cameraWireframeObject = getCameraWireframe(
1.0,
displayedFocalLength,