29 COLLISION_USE_COLLFACE = (1 << 2),
30 COLLISION_IS_EDGES = (1 << 3),
95 const struct MVert *mvert,
96 const struct MVert *mvert_moving,
132 unsigned int modifier_type);
144 unsigned int *numcollobj,
145 unsigned int modifier_type);
struct ListBase * BKE_collision_relations_create(struct Depsgraph *depsgraph, struct Collection *collection, unsigned int modifier_type)
struct EdgeCollPair EdgeCollPair
void BKE_collider_cache_free(struct ListBase **colliders)
struct Object ** BKE_collision_objects_create(struct Depsgraph *depsgraph, struct Object *self, struct Collection *collection, unsigned int *numcollobj, unsigned int modifier_type)
struct BVHTree * bvhtree_build_from_mvert(const struct MVert *mvert, const struct MVertTri *tri, int tri_num, float epsilon)
void BKE_collision_relations_free(struct ListBase *relations)
void bvhtree_update_from_mvert(struct BVHTree *bvhtree, const struct MVert *mvert, const struct MVert *mvert_moving, const struct MVertTri *tri, int tri_num, bool moving)
struct CollisionRelation CollisionRelation
void collision_get_collider_velocity(float vel_old[3], float vel_new[3], struct CollisionModifierData *collmd, struct CollPair *collpair)
void BKE_collision_objects_free(struct Object **objects)
struct ListBase * BKE_collider_cache_create(struct Depsgraph *depsgraph, struct Object *self, struct Collection *collection)
void collision_move_object(struct CollisionModifierData *collmd, float step, float prevstep, bool moving_bvh)
struct ColliderCache ColliderCache
struct FaceCollPair FaceCollPair
struct Depsgraph Depsgraph
const Depsgraph * depsgraph
struct ColliderCache * prev
struct CollisionModifierData * collmd
struct ColliderCache * next
struct CollisionRelation * next
struct CollisionRelation * prev