Crate ode_rs

Source
Expand description

ODE Open Dynamics Engine for Rust

§Requirements

to build dll

  • premake4 –with-demos –only-double –with-libccd –cc=gcc –platform–x64 –os=windows codeblocks
  • premake4 –with-demos –only-double –with-libccd –platform–x64 –os=windows vs2010

in the running directory

  • drawstuff.dll
  • ode.dll
  • libstdc++-6.dll
  • libgcc_s_seh-1.dll
  • libwinpthread-1.dll

§Examples

see also

Modules§

colors
colors
ds
ds implementation for trait Tdrawstuff and setter to change drawstuff later
ode
ode integrates bindings to cppbridge and cppode

Macros§

ode_
ODE singleton getter (immutable)
ode_get
ODE attribute getter (immutable)
ode_get_mut
ODE attribute getter (mutable)
ode_mut
ODE singleton getter (mutable)
ode_sim
$rs is Sim instance, $rf is callback function in Sim
ostat
for debug output status
ostatln
for debug output status with ln

Structs§

Bridge
Bridge for cpp
dsFunctions

Constants§

DS_TEXTURE_NUMBER_DS_CHECKERED
DS_TEXTURE_NUMBER_DS_GROUND
DS_TEXTURE_NUMBER_DS_NONE
DS_TEXTURE_NUMBER_DS_SKY
DS_TEXTURE_NUMBER_DS_WOOD
DS_VERSION

Functions§

_dDot
as local function to be independent of ode.hpp
bput
legacy C interface
dsDebug
dsDrawBox
dsDrawBoxD
dsDrawCapsule
dsDrawCapsuleD
dsDrawConvex
dsDrawConvexD
dsDrawCylinder
dsDrawCylinderD
dsDrawLine
dsDrawLineD
dsDrawSphere
dsDrawSphereD
dsDrawTriangle
dsDrawTriangleD
dsDrawTriangles
dsDrawTrianglesD
dsElapsedTime
dsError
dsGetViewpoint
dsPrint
dsSetCapsuleQuality
dsSetColor
dsSetColorAlpha
dsSetDrawMode
dsSetSphereQuality
dsSetTexture
dsSetViewpoint
dsSimulationLoop
dsStop
ds_vec4_from_u32
u32 RGBA (little endian) to dVector4 color (not use dVector4 and mat::v2a to be independent of ode)

Type Aliases§

DS_TEXTURE_NUMBER
dReal
dReal as f64 (defined in ode.hpp)