Expand description
ode integrates bindings to cppbridge cdrawstuff and cppode
- cc-rs https://crates.io/crates/cc
- bindgen https://crates.io/crates/bindgen
cc-rs
- include/bridge.hpp
- src/bridge.cpp
bindgen
from
- include/bridge.hpp
- ode/drawstuff.h (from modified preprocess -E dum.cpp includes drawstuff.h)
- ode/ode.hpp (from modified preprocess -E dum.cpp includes ode.h)
to
- include/bridge_bindings.rs
- ode/drawstuff_bindings.rs
- ode/ode_bindings.rs
Requirements
in the running directory
- drawstuff.dll
- ode.dll
- libstdc++-6.dll
- libgcc_s_seh-1.dll
- libwinpthread-1.dll
Re-exports
pub extern crate impl_sim;
pub use prim::Matrix4;
pub use prim::Matrix3;
pub use prim::Quaternion;
pub use meta::MetaInf;
pub use meta::MetaComposite;
pub use meta::MetaSphere;
pub use meta::MetaBox;
pub use meta::MetaCapsule;
pub use meta::MetaCylinder;
pub use meta::MetaPlane;
Modules
- cls
- err
- mat
- meta
- prim
Macros
- for debug output status
- for debug output status with ln
Structs
- Bridge for cpp
- ODE singleton
Statics
- unsafe static mut OYK_MUT (management ODE singleton instance)
Traits
- trait Sim must have callback functions
Functions
- bput⚠legacy C interface
- res = a(&dMatrix3) b(&dVector3)
- res = a(&dMatrix3) b(&dMatrix3)