Expand description
ode integrates bindings to cppbridge and cppode
oyk is replaced to submodule of crate ode-rs after version 1.0.1
- 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
to
- include/bridge_bindings.rs
§Requirements
in the running directory
- ode.dll
- libstdc++-6.dll
- libgcc_s_seh-1.dll
- libwinpthread-1.dll
Modules§
- cls
- cls
- ds
- ds for trait Tdrawstuff and setter to change drawstuff implementation later
- err
- err
- impl_
sim - impl_sim auto implement callback functions for trait Sim
- mat
- mat
- meta
- meta
- trimeshconvex
- trimeshconvex
Macros§
Structs§
- Gws
- object of ODE, gws: singleton
- Krp
- krp
- MetaBox
- MetaBox
- Meta
Capsule - MetaCapsule
- Meta
Composite - MetaComposite (not have dup #[derive(Clone)])
- Meta
Convex - MetaConvex
- Meta
Cylinder - MetaCylinder
- Meta
Plane - MetaPlane
- Meta
Sphere - MetaSphere
- Meta
TriMesh - MetaTriMesh
- ODE
- ODE singleton
- ODEError
- for Result<_, Box<dyn Error>> handling
- ODEMat
- mat as slice
- Obg
- object(s) of ODE, obgs: HashMap<dBodyID, Obg>
- convexfvp
- ConvexFVP
- trimeshvi
- TriMeshVI
Constants§
- PI
- Archimedes’ constant (π)
Statics§
- KRP001
- static krp 0.01
- KRP080
- static krp 0.8
- KRP095
- static krp 0.95
- KRP100
- static krp 1.0
- KRPnk
- static krp n k
- M3I
- static dMatrix3 Identity
- M4I
- static dMatrix4 Identity
- OYK_MUT
- unsafe static mut OYK_MUT (management ODE singleton instance)
- PId
- static angle 360 dual
- PIh
- static angle 90 half
- PIh3
- static angle 270
- PIq
- static angle 45 quarter
- PIq3
- static angle 135
- PIt
- static angle 60 regular triangle
- PIt2
- static angle 120
- PIt4
- static angle 240
- PIt5
- static angle 300
- PIx
- static angle 30 a sixth
- PIx5
- static angle 150
- QI
- static dQuaternion Identity
Traits§
- AsPtr
- use for Vec<T>
- Convex
- constructor convexfvp
- Matrix3
- constructor and converter for primitive type
- Matrix4
- constructor and converter for primitive type
- MetaInf
- MetaInf
- Quaternion
- constructor and converter for primitive type
- Sim
- trait Sim must have callback functions
- Tdrawstuff
- trait Tdrawstuff
- Tdrawstuff
Setter - trait TdrawstuffSetter
- TriMesh
- constructor trimeshvi
Functions§
- v2a
- construct array [T; N] (dVector3 dMatrix3 etc) from vec![]