Skip to content

Commit

Permalink
feat: changing CameraMode to be an int instead of str
Browse files Browse the repository at this point in the history
  • Loading branch information
dbirman committed Jun 18, 2024
1 parent a0fa296 commit 0ae5531
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/vbl_aquarium/models/urchin.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ class StructureModel(VBLBaseModel):


class CameraModel(VBLBaseModel):
class CameraMode(str, Enum):
orthographic = "orthographic"
perspective = "perspective"
class CameraMode(int, Enum):
orthographic = 0
perspective = 1

id: str = Field(alias="ID")
position: Vector3 = None
Expand Down

0 comments on commit 0ae5531

Please sign in to comment.