diff options
Diffstat (limited to 'bindgen/rust/src/prelude.rs')
-rw-r--r-- | bindgen/rust/src/prelude.rs | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/bindgen/rust/src/prelude.rs b/bindgen/rust/src/prelude.rs index 7adf11b..240b13a 100644 --- a/bindgen/rust/src/prelude.rs +++ b/bindgen/rust/src/prelude.rs @@ -1,20 +1,20 @@ -pub use celeritas_sys::Mat4; -pub use celeritas_sys::Quat; -pub use celeritas_sys::Transform; -/// --- maths types -pub use celeritas_sys::Vec2; -pub use celeritas_sys::Vec3; -pub use celeritas_sys::Vec4; +// --- maths types +pub use celeritas_sys::mat4; +pub use celeritas_sys::quat; +pub use celeritas_sys::transform; +pub use celeritas_sys::vec2; +pub use celeritas_sys::vec3; +pub use celeritas_sys::vec4; // --- handles -pub use celeritas_sys::BufHandle; -pub use celeritas_sys::MaterialHandle; -pub use celeritas_sys::MeshHandle; -pub use celeritas_sys::ModelHandle; -pub use celeritas_sys::PipelineHandle; -pub use celeritas_sys::TexHandle; -// pub use celeritas_sys::PipelineLayoutHandle; -// pub use celeritas_sys::RenderpassHandle; +pub type BufHandle = celeritas_sys::buf_handle; +pub type TexHandle = celeritas_sys::tex_handle; +// pub type MaterialHandle = celeritas_sys::material_handle; +// pub type MeshHandle = celeritas_sys::mesh_handle; +pub type ModelHandle = celeritas_sys::model_handle; +pub type PipelineHandle = celeritas_sys::pipeline_handle; +// pub type PipelineLayoutHandle = celeritas_sys::pipeline_layout_handle; +// pub type RenderpassHandle = celeritas_sys::renderpass_handle; // // --- conversions // pub use celeritas_sys::conversions; |