mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-26 10:59:53 +08:00
Prettified Code!
This commit is contained in:
1 parent
5b8f0f0204
commit
4c9999b7e7
1 file changed
+1
-1
@@ -129,7 +129,7 @@ export function drawCamera(camera): THREE.Object3D {
|
|||||||
|
|
||||||
const height = 0.05;
|
const height = 0.05;
|
||||||
const displayedFocalLength = height;
|
const displayedFocalLength = height;
|
||||||
const width = height * camera.cx / camera.cy;
|
const width = (height * camera.cx) / camera.cy;
|
||||||
const cameraWireframeObject = getCameraWireframe(
|
const cameraWireframeObject = getCameraWireframe(
|
||||||
1.0,
|
1.0,
|
||||||
displayedFocalLength,
|
displayedFocalLength,
|
||||||
|
|||||||
Reference in new issue
Block a user