Module oyk::ode

source ·
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

Modules

Macros

  • for debug output status
  • for debug output status with ln

Structs

Statics

  • unsafe static mut OYK_MUT (management ODE singleton instance)

Traits

  • trait Sim must have callback functions

Functions

Type Definitions