diff options
Diffstat (limited to 'bindgen/rust/src/resources.rs')
-rw-r--r-- | bindgen/rust/src/resources.rs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/bindgen/rust/src/resources.rs b/bindgen/rust/src/resources.rs index e7f4505..7287632 100644 --- a/bindgen/rust/src/resources.rs +++ b/bindgen/rust/src/resources.rs @@ -1,10 +1,10 @@ -use std::ffi::CString; +// use std::ffi::CString; -use celeritas_sys::{ModelHandle, ModelLoad_gltf}; +// use celeritas_sys::{ModelHandle, ModelLoad_gltf}; -/// Load a gltf from disk -pub fn model_load_gltf(path: &str) -> Option<ModelHandle> { - let path_str = CString::new(path).unwrap(); - let handle = unsafe { ModelLoad_gltf(path_str.as_ptr() as *const _, false) }; - Some(handle) -} +// /// Load a gltf from disk +// pub fn model_load_gltf(path: &str) -> Option<ModelHandle> { +// let path_str = CString::new(path).unwrap(); +// let handle = unsafe { ModelLoad_gltf(path_str.as_ptr() as *const _, false) }; +// Some(handle) +// } |