Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_collision.h
| Show First 20 Lines • Show All 140 Lines • ▼ Show 20 Lines | |||||
| // defined in collisions.c | // defined in collisions.c | ||||
| void collision_move_object(struct CollisionModifierData *collmd, float step, float prevstep); | void collision_move_object(struct CollisionModifierData *collmd, float step, float prevstep); | ||||
| void collision_get_collider_velocity(float vel_old[3], float vel_new[3], struct CollisionModifierData *collmd, struct CollPair *collpair); | void collision_get_collider_velocity(float vel_old[3], float vel_new[3], struct CollisionModifierData *collmd, struct CollPair *collpair); | ||||
| ///////////////////////////////////////////////// | ///////////////////////////////////////////////// | ||||
| // used in effect.c | // used in effect.c | ||||
| ///////////////////////////////////////////////// | ///////////////////////////////////////////////// | ||||
| /* explicit control over layer mask and dupli recursion */ | |||||
| struct Object **get_collisionobjects_ext(struct Scene *scene, struct Object *self, struct Group *group, int layer, unsigned int *numcollobj, unsigned int modifier_type, bool dupli); | |||||
| struct Object **get_collisionobjects(struct Scene *scene, struct Object *self, struct Group *group, unsigned int *numcollobj, unsigned int modifier_type); | struct Object **get_collisionobjects(struct Scene *scene, struct Object *self, struct Group *group, unsigned int *numcollobj, unsigned int modifier_type); | ||||
| typedef struct ColliderCache { | typedef struct ColliderCache { | ||||
| struct ColliderCache *next, *prev; | struct ColliderCache *next, *prev; | ||||
| struct Object *ob; | struct Object *ob; | ||||
| struct CollisionModifierData *collmd; | struct CollisionModifierData *collmd; | ||||
| } ColliderCache; | } ColliderCache; | ||||
| Show All 11 Lines | |||||