diff options
Diffstat (limited to 'bindgen')
-rw-r--r-- | bindgen/rust/src/lib.rs | 7 |
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 |