diff options
author | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-07-30 10:22:52 +1000 |
---|---|---|
committer | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-07-30 10:22:52 +1000 |
commit | bfae2fd3f7b367709f21a8b4fccab107e2e81797 (patch) | |
tree | 22dad7bc9e01f065f18fcf17b362a4464adb8ec1 /bindgen/rust/src/lib.rs | |
parent | 25aed9b0080ed99eac38006ef4e45480ff239d3a (diff) |
start on render wrapper in rust bindings
Diffstat (limited to 'bindgen/rust/src/lib.rs')
-rw-r--r-- | bindgen/rust/src/lib.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/bindgen/rust/src/lib.rs b/bindgen/rust/src/lib.rs index 49d0391..c8e56df 100644 --- a/bindgen/rust/src/lib.rs +++ b/bindgen/rust/src/lib.rs @@ -8,6 +8,8 @@ pub use celeritas_sys as ffi; /// Commonly used types pub mod prelude; +pub mod ral; + use std::{ fs::{self, File}, io::Write, @@ -26,7 +28,7 @@ pub struct ModelPath(String); #[derive(Debug, Serialize, Deserialize)] pub struct ModelNode { model_path: ModelPath, - transform: Transform + transform: Transform, } /// Scene that can be saved and loaded from disk @@ -61,4 +63,4 @@ pub enum Light { Point(ffi::PointLight), Directional(ffi::DirectionalLight), // Spot(ffi::Spotlight) -}
\ No newline at end of file +} |