summaryrefslogtreecommitdiff
path: root/bindgen/rust/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'bindgen/rust/src/lib.rs')
-rw-r--r--bindgen/rust/src/lib.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/bindgen/rust/src/lib.rs b/bindgen/rust/src/lib.rs
index c86e2d6..4963d8c 100644
--- a/bindgen/rust/src/lib.rs
+++ b/bindgen/rust/src/lib.rs
@@ -55,3 +55,10 @@ impl SerializableScene {
serde_json::from_str(&contents).expect("Should be deserializable")
}
}
+
+#[derive(Debug, Clone)]
+pub enum Light {
+ Point(ffi::PointLight),
+ Directional(ffi::DirectionalLight),
+ // Spot(ffi::Spotlight)
+} \ No newline at end of file