Shader linking i guess
This commit is contained in:
@@ -10,6 +10,8 @@ typedef enum EPhysicsBodyType {
|
||||
k_EPhysics_KinematicVelocityBased,
|
||||
} EPhysicsBodyType;
|
||||
|
||||
typedef struct Option_checkCastFn Option_checkCastFn;
|
||||
|
||||
typedef struct RapierCollider_t RapierCollider_t;
|
||||
|
||||
typedef struct RapierPhysicsBody_t RapierPhysicsBody_t;
|
||||
@@ -39,6 +41,7 @@ typedef struct CastResult_t {
|
||||
struct Vector m_vCollisionPoint;
|
||||
float m_fTime;
|
||||
float m_fDistance;
|
||||
struct Vector m_vNormal;
|
||||
} CastResult_t;
|
||||
|
||||
typedef struct BallShape_t {
|
||||
@@ -87,13 +90,15 @@ void CRapierPhysicsWorld_Frame(struct RapierWorld_t *this_, float fDelta);
|
||||
|
||||
struct CastResult_t CRapierPhysicsWorld_RayCast(struct RapierWorld_t *this_,
|
||||
struct Vector vBegin,
|
||||
struct Vector vEnd);
|
||||
struct Vector vEnd,
|
||||
struct Option_checkCastFn checkCast);
|
||||
|
||||
struct CastResult_t CRapierPhysicsWorld_ShapeCast(struct RapierWorld_t *this_,
|
||||
struct RapierShape_t *pShape,
|
||||
struct Quat vOrientation,
|
||||
struct Vector vBegin,
|
||||
struct Vector vEnd);
|
||||
struct Vector vEnd,
|
||||
struct Option_checkCastFn checkCast);
|
||||
|
||||
struct RapierShape_t *CRapierPhysics_CreateBall(struct RapierPhysics_t *this_,
|
||||
struct BallShape_t ball);
|
||||
@@ -109,6 +114,8 @@ struct RapierShape_t *CRapierPhysics_CreateTriangleMesh(struct RapierPhysics_t *
|
||||
|
||||
struct RapierWorld_t *CRapierPhysics_CreateWorld(struct RapierPhysics_t *this_);
|
||||
|
||||
void CRapierPhysics_DestroyShape(struct RapierPhysics_t *this_, struct RapierShape_t *shape);
|
||||
|
||||
struct RapierPhysics_t *CRapierPhysics_New(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
Reference in New Issue
Block a user