summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-07-28 17:59:29 +1000
committeromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-07-28 17:59:29 +1000
commit4e2881efa1eaf9f0356cb5f8d98a80b786a0f6a7 (patch)
tree24fce09585f5d6d42772d56d284abbda0b4b9896
parente5b3f7a823f5e73cb17456d4b9bdd59760fb18ed (diff)
ser deser light
-rw-r--r--bindgen/rust/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/bindgen/rust/src/lib.rs b/bindgen/rust/src/lib.rs
index 4963d8c..49d0391 100644
--- a/bindgen/rust/src/lib.rs
+++ b/bindgen/rust/src/lib.rs
@@ -56,7 +56,7 @@ impl SerializableScene {
}
}
-#[derive(Debug, Clone)]
+#[derive(Debug, Clone, Serialize, Deserialize)]
pub enum Light {
Point(ffi::PointLight),
Directional(ffi::DirectionalLight),