diff options
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 +} |