From bfae2fd3f7b367709f21a8b4fccab107e2e81797 Mon Sep 17 00:00:00 2001 From: omniscient <17525998+omnisci3nce@users.noreply.github.com> Date: Tue, 30 Jul 2024 10:22:52 +1000 Subject: start on render wrapper in rust bindings --- bindgen/rust/src/lib.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'bindgen/rust/src/lib.rs') 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 +} -- cgit v1.2.3-70-g09d2