From 359357de8e8eda7a4e05c667ab3a9efb6afe9d62 Mon Sep 17 00:00:00 2001 From: Terry Jia Date: Thu, 28 May 2026 16:28:18 -0400 Subject: [PATCH] refactor: drop rotation from Load3DCamera --- comfy_api/latest/_io.py | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/comfy_api/latest/_io.py b/comfy_api/latest/_io.py index e430c0ecf..fed8dc7f0 100644 --- a/comfy_api/latest/_io.py +++ b/comfy_api/latest/_io.py @@ -762,17 +762,17 @@ class Accumulation(ComfyTypeIO): @comfytype(io_type="LOAD3D_CAMERA") class Load3DCamera(ComfyTypeIO): class CameraInfo(TypedDict): - position: dict[str, float | int] - target: dict[str, float | int] - zoom: int - cameraType: str - quaternion: NotRequired[dict[str, float | int]] - rotation: NotRequired[dict[str, float | int | str]] - fov: NotRequired[float | int] - aspect: NotRequired[float | int] - near: NotRequired[float | int] - far: NotRequired[float | int] - frustum: NotRequired[dict[str, float | int]] + # Coordinate system: right-handed, Y-up, camera looks down -Z + position: dict[str, float | int] # scene units + target: dict[str, float | int] # scene units; OrbitControls focus point + zoom: float | int # dimensionless, 1 = 100% + cameraType: str # 'perspective' | 'orthographic' + quaternion: NotRequired[dict[str, float | int]] # normalized, dimensionless; camera world rotation + fov: NotRequired[float | int] # degrees, vertical FOV (perspective only) + aspect: NotRequired[float | int] # width / height (perspective only) + near: NotRequired[float | int] # scene units + far: NotRequired[float | int] # scene units + frustum: NotRequired[dict[str, float | int]] # orthographic only: {left, right, top, bottom} in scene units Type = CameraInfo