26 COLLISION_USE_COLLFACE = (1 << 2),
27 COLLISION_IS_EDGES = (1 << 3),
94 const float (*positions)[3],
95 const float (*positions_moving)[3],
131 unsigned int modifier_type);
143 unsigned int *numcollobj,
144 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)
void BKE_collision_relations_free(struct ListBase *relations)
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)
struct BVHTree * bvhtree_build_from_mvert(const float(*positions)[3], const blender::int3 *vert_tris, int tri_num, float epsilon)
void bvhtree_update_from_mvert(struct BVHTree *bvhtree, const float(*positions)[3], const float(*positions_moving)[3], const blender::int3 *vert_tris, int tri_num, bool moving)
void collision_move_object(struct CollisionModifierData *collmd, float step, float prevstep, bool moving_bvh)
struct ColliderCache ColliderCache
struct Object ** BKE_collision_objects_create(struct Depsgraph *depsgraph, struct Object *self, struct Collection *collection, unsigned int *numcollobj, unsigned int modifier_type)
struct FaceCollPair FaceCollPair
const Depsgraph * depsgraph
struct ColliderCache * prev
struct CollisionModifierData * collmd
struct ColliderCache * next
struct CollisionRelation * next
struct CollisionRelation * prev