From 0ae5531b0d267a4766d81e6f4363e921b67f786d Mon Sep 17 00:00:00 2001 From: Dan Birman Date: Mon, 17 Jun 2024 21:10:07 -0700 Subject: [PATCH] feat: changing CameraMode to be an int instead of str --- src/vbl_aquarium/models/urchin.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/vbl_aquarium/models/urchin.py b/src/vbl_aquarium/models/urchin.py index 27d022b..33cd828 100644 --- a/src/vbl_aquarium/models/urchin.py +++ b/src/vbl_aquarium/models/urchin.py @@ -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