{-#LANGUAGE ForeignFunctionInterface#-} #include "Bullet.h" module Physics.Bullet.Raw ( module Physics.Bullet.Raw.BulletSoftBody, module Physics.Bullet.Raw.LinearMath, module Physics.Bullet.Raw.BulletDynamics, module Physics.Bullet.Raw.BulletCollision, module Physics.Bullet.Raw ) where import Control.Monad import Foreign.Marshal.Alloc import Foreign.ForeignPtr.Unsafe import Foreign.Ptr import Physics.Bullet.Raw.C2HS import Physics.Bullet.Raw.Types import Physics.Bullet.Raw.Class import Physics.Bullet.Raw.BulletSoftBody import Physics.Bullet.Raw.LinearMath import Physics.Bullet.Raw.BulletDynamics import Physics.Bullet.Raw.BulletCollision -- * btGLDebugDrawer {- | -} {#fun btGLDebugDrawer_new as btGLDebugDrawer { } -> `BtGLDebugDrawer' mkBtGLDebugDrawer* #} {#fun btGLDebugDrawer_free `( BtGLDebugDrawerClass bc )' => { withBt* `bc' } -> `()' #} {- | -} {#fun btGLDebugDrawer_draw3dText as btGLDebugDrawer_draw3dText `( BtGLDebugDrawerClass bc )' => { withBt* `bc' -- ^ , withVec3* `Vec3' peekVec3* -- ^ location , `String' -- ^ textString } -> `()' #} {- | -} {#fun btGLDebugDrawer_draw3dText as btGLDebugDrawer_draw3dText' `( BtGLDebugDrawerClass bc )' => { withBt* `bc' -- ^ , allocaVec3- `Vec3' peekVec3* -- ^ location , `String' -- ^ textString } -> `()' #} {- | -} {#fun btGLDebugDrawer_drawTriangle as btGLDebugDrawer_drawTriangle `( BtGLDebugDrawerClass bc )' => { withBt* `bc' -- ^ , withVec3* `Vec3' peekVec3* -- ^ a , withVec3* `Vec3' peekVec3* -- ^ b , withVec3* `Vec3' peekVec3* -- ^ c , withVec3* `Vec3' peekVec3* -- ^ color , `Float' -- ^ alpha } -> `()' #} {- | -} {#fun btGLDebugDrawer_drawTriangle as btGLDebugDrawer_drawTriangle' `( BtGLDebugDrawerClass bc )' => { withBt* `bc' -- ^ , allocaVec3- `Vec3' peekVec3* -- ^ a , allocaVec3- `Vec3' peekVec3* -- ^ b , allocaVec3- `Vec3' peekVec3* -- ^ c , allocaVec3- `Vec3' peekVec3* -- ^ color , `Float' -- ^ alpha } -> `()' #} {- | -} {#fun btGLDebugDrawer_drawBox as btGLDebugDrawer_drawBox `( BtGLDebugDrawerClass bc )' => { withBt* `bc' -- ^ , withVec3* `Vec3' peekVec3* -- ^ boxMin , withVec3* `Vec3' peekVec3* -- ^ boxMax , withVec3* `Vec3' peekVec3* -- ^ color , `Float' -- ^ alpha } -> `()' #} {- | -} {#fun btGLDebugDrawer_drawBox as btGLDebugDrawer_drawBox' `( BtGLDebugDrawerClass bc )' => { withBt* `bc' -- ^ , allocaVec3- `Vec3' peekVec3* -- ^ boxMin , allocaVec3- `Vec3' peekVec3* -- ^ boxMax , allocaVec3- `Vec3' peekVec3* -- ^ color , `Float' -- ^ alpha } -> `()' #} {- | -} {#fun btGLDebugDrawer_drawContactPoint as btGLDebugDrawer_drawContactPoint `( BtGLDebugDrawerClass bc )' => { withBt* `bc' -- ^ , withVec3* `Vec3' peekVec3* -- ^ PointOnB , withVec3* `Vec3' peekVec3* -- ^ normalOnB , `Float' -- ^ distance , `Int' -- ^ lifeTime , withVec3* `Vec3' peekVec3* -- ^ color } -> `()' #} {- | -} {#fun btGLDebugDrawer_drawContactPoint as btGLDebugDrawer_drawContactPoint' `( BtGLDebugDrawerClass bc )' => { withBt* `bc' -- ^ , allocaVec3- `Vec3' peekVec3* -- ^ PointOnB , allocaVec3- `Vec3' peekVec3* -- ^ normalOnB , `Float' -- ^ distance , `Int' -- ^ lifeTime , allocaVec3- `Vec3' peekVec3* -- ^ color } -> `()' #} {- | -} {#fun btGLDebugDrawer_drawLine0 as btGLDebugDrawer_drawLine `( BtGLDebugDrawerClass bc )' => { withBt* `bc' -- ^ , withVec3* `Vec3' peekVec3* -- ^ from , withVec3* `Vec3' peekVec3* -- ^ to , withVec3* `Vec3' peekVec3* -- ^ fromColor , withVec3* `Vec3' peekVec3* -- ^ toColor } -> `()' #} {- | -} {#fun btGLDebugDrawer_drawLine0 as btGLDebugDrawer_drawLine' `( BtGLDebugDrawerClass bc )' => { withBt* `bc' -- ^ , allocaVec3- `Vec3' peekVec3* -- ^ from , allocaVec3- `Vec3' peekVec3* -- ^ to , allocaVec3- `Vec3' peekVec3* -- ^ fromColor , allocaVec3- `Vec3' peekVec3* -- ^ toColor } -> `()' #} {- | -} {#fun btGLDebugDrawer_drawLine0 as btGLDebugDrawer_drawLine0 `( BtGLDebugDrawerClass bc )' => { withBt* `bc' -- ^ , withVec3* `Vec3' peekVec3* -- ^ from , withVec3* `Vec3' peekVec3* -- ^ to , withVec3* `Vec3' peekVec3* -- ^ fromColor , withVec3* `Vec3' peekVec3* -- ^ toColor } -> `()' #} {- | -} {#fun btGLDebugDrawer_drawLine0 as btGLDebugDrawer_drawLine0' `( BtGLDebugDrawerClass bc )' => { withBt* `bc' -- ^ , allocaVec3- `Vec3' peekVec3* -- ^ from , allocaVec3- `Vec3' peekVec3* -- ^ to , allocaVec3- `Vec3' peekVec3* -- ^ fromColor , allocaVec3- `Vec3' peekVec3* -- ^ toColor } -> `()' #} {- | -} {#fun btGLDebugDrawer_drawLine1 as btGLDebugDrawer_drawLine1 `( BtGLDebugDrawerClass bc )' => { withBt* `bc' -- ^ , withVec3* `Vec3' peekVec3* -- ^ from , withVec3* `Vec3' peekVec3* -- ^ to , withVec3* `Vec3' peekVec3* -- ^ color } -> `()' #} {- | -} {#fun btGLDebugDrawer_drawLine1 as btGLDebugDrawer_drawLine1' `( BtGLDebugDrawerClass bc )' => { withBt* `bc' -- ^ , allocaVec3- `Vec3' peekVec3* -- ^ from , allocaVec3- `Vec3' peekVec3* -- ^ to , allocaVec3- `Vec3' peekVec3* -- ^ color } -> `()' #} {- | -} {#fun btGLDebugDrawer_reportErrorWarning as btGLDebugDrawer_reportErrorWarning `( BtGLDebugDrawerClass bc )' => { withBt* `bc' -- ^ , `String' -- ^ warningString } -> `()' #} {- | -} {#fun btGLDebugDrawer_getDebugMode as btGLDebugDrawer_getDebugMode `( BtGLDebugDrawerClass bc )' => { withBt* `bc' -- ^ } -> `Int' #} {- | -} {#fun btGLDebugDrawer_setDebugMode as btGLDebugDrawer_setDebugMode `( BtGLDebugDrawerClass bc )' => { withBt* `bc' -- ^ , `Int' -- ^ debugMode } -> `()' #} {- | -} {#fun btGLDebugDrawer_drawSphere as btGLDebugDrawer_drawSphere `( BtGLDebugDrawerClass bc )' => { withBt* `bc' -- ^ , withVec3* `Vec3' peekVec3* -- ^ p , `Float' -- ^ radius , withVec3* `Vec3' peekVec3* -- ^ color } -> `()' #} {- | -} {#fun btGLDebugDrawer_drawSphere as btGLDebugDrawer_drawSphere' `( BtGLDebugDrawerClass bc )' => { withBt* `bc' -- ^ , allocaVec3- `Vec3' peekVec3* -- ^ p , `Float' -- ^ radius , allocaVec3- `Vec3' peekVec3* -- ^ color } -> `()' #}