Skip to content

Commit

Permalink
feat: adding defaults for CameraModel
Browse files Browse the repository at this point in the history
  • Loading branch information
dbirman committed Apr 3, 2024
1 parent 826befe commit 4e0eeee
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/vbl_aquarium/models/urchin.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,16 +65,16 @@ class CameraMode(str, Enum):
orthographic = "orthographic"
perspective = "perspective"

id: float
id: str
type: str
position: Vector3
rotation: Vector3
target: Vector3
zoom: float
pan: Vector2
mode: CameraMode
controllable: bool
main: bool
position: Vector3 = None
rotation: Vector3 = Vector3(0,0,0)
target: Vector3 = None
zoom: float = 16
pan: Vector2 = Vector2(0,0)
mode: CameraMode = CameraMode.orthographic
controllable: bool = True
main: bool = False

class CameraRotationModel(VBLBaseModel):
start_rotation: Vector3
Expand Down

0 comments on commit 4e0eeee

Please sign in to comment.