From 8ce117f0b3fd4ceeb1d7058dde8793e4421ec076 Mon Sep 17 00:00:00 2001 From: omniscient <17525998+omnisci3nce@users.noreply.github.com> Date: Sat, 5 Oct 2024 17:44:50 +1000 Subject: trying to get rust bindgen working --- bindgen/rust/src/prelude.rs | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) (limited to 'bindgen/rust/src/prelude.rs') diff --git a/bindgen/rust/src/prelude.rs b/bindgen/rust/src/prelude.rs index 74cc400..90a5df5 100644 --- a/bindgen/rust/src/prelude.rs +++ b/bindgen/rust/src/prelude.rs @@ -1,18 +1,20 @@ -// /// --- maths types -// pub use celeritas_sys::Mat4; -// pub use celeritas_sys::Vec2; -// pub use celeritas_sys::Vec3; -// pub use celeritas_sys::Vec4; +/// --- maths types +pub use celeritas_sys::Vec2; +pub use celeritas_sys::Vec3; +pub use celeritas_sys::Vec4; +pub use celeritas_sys::Quat; +pub use celeritas_sys::Mat4; +pub use celeritas_sys::Transform; // // --- handles -// pub use celeritas_sys::BufferHandle; -// pub use celeritas_sys::MaterialHandle; -// pub use celeritas_sys::MeshHandle; -// pub use celeritas_sys::ModelHandle; -// pub use celeritas_sys::PipelineHandle; +pub use celeritas_sys::BufHandle; +pub use celeritas_sys::TexHandle; +pub use celeritas_sys::MaterialHandle; +pub use celeritas_sys::MeshHandle; +pub use celeritas_sys::ModelHandle; +pub use celeritas_sys::PipelineHandle; // pub use celeritas_sys::PipelineLayoutHandle; // pub use celeritas_sys::RenderpassHandle; -// pub use celeritas_sys::TextureHandle; // // --- conversions // pub use celeritas_sys::conversions; -- cgit v1.2.3-70-g09d2