ackb2d 0.9
3D Gamestudio Box 2d Wraper
|
00001 #ifndef __B2_AABB_H__ 00002 #define __B2_AABB_H__ 00003 00007 b2AABB *b2AABB_Create(); 00008 00012 void b2AABB_Destroy(b2AABB *aabb); 00013 00017 var b2AABB_IsValid(b2AABB *aabb); 00018 00023 void b2AABB_GetCenter(b2AABB *aabb, VECTOR *outCenter); 00024 00029 void b2AABB_GetExtents(b2AABB *aabb, VECTOR *outExtents); 00030 00036 void b2AABB_Combine(b2AABB *aabb, const b2AABB *aabb1, const b2AABB *aabb2); 00037 00042 var b2AABB_Contains(b2AABB *aabb, const b2AABB *aabb1); 00043 00051 var b2AABB_RayCast(b2AABB *aabb, b2RayCastOutput* output, const b2RayCastInput *input); 00052 00057 void b2AABB_SetLowerBound(b2AABB *aabb, const VECTOR *lowerBound); 00058 00063 void b2AABB_GetLowerBound(b2AABB *aabb, VECTOR *outLowerBound); 00064 00069 void b2AABB_SetUpperBound(b2AABB *aabb, const VECTOR *upperBound); 00070 00075 void b2AABB_GetUpperBound(b2AABB *aabb, VECTOR *outUpperBound); 00076 00077 #endif //__B2_AABB_H__