Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/include/ED_physics.h
| Show All 30 Lines | |||||
| #ifndef __ED_PHYSICS_H__ | #ifndef __ED_PHYSICS_H__ | ||||
| #define __ED_PHYSICS_H__ | #define __ED_PHYSICS_H__ | ||||
| struct bContext; | struct bContext; | ||||
| struct ReportList; | struct ReportList; | ||||
| struct wmKeyConfig; | struct wmKeyConfig; | ||||
| struct Depsgraph; | |||||
| struct Scene; | struct Scene; | ||||
| struct Object; | struct Object; | ||||
| /* particle_edit.c */ | /* particle_edit.c */ | ||||
| int PE_poll(struct bContext *C); | int PE_poll(struct bContext *C); | ||||
| int PE_hair_poll(struct bContext *C); | int PE_hair_poll(struct bContext *C); | ||||
| int PE_poll_view3d(struct bContext *C); | int PE_poll_view3d(struct bContext *C); | ||||
| /* rigidbody_object.c */ | /* rigidbody_object.c */ | ||||
| bool ED_rigidbody_object_add(struct Main *bmain, struct Scene *scene, struct Object *ob, int type, struct ReportList *reports); | bool ED_rigidbody_object_add(struct Depsgraph *depsgraph, struct Main *bmain, struct Scene *scene, struct Object *ob, int type, struct ReportList *reports); | ||||
| void ED_rigidbody_object_remove(struct Main *bmain, struct Scene *scene, struct Object *ob); | void ED_rigidbody_object_remove(struct Main *bmain, struct Scene *scene, struct Object *ob); | ||||
| /* rigidbody_constraint.c */ | /* rigidbody_constraint.c */ | ||||
| bool ED_rigidbody_constraint_add(struct Main *bmain, struct Scene *scene, struct Object *ob, int type, struct ReportList *reports); | bool ED_rigidbody_constraint_add(struct Depsgraph *depsgraph, struct Main *bmain, struct Scene *scene, struct Object *ob, int type, struct ReportList *reports); | ||||
| void ED_rigidbody_constraint_remove(struct Main *bmain, struct Scene *scene, struct Object *ob); | void ED_rigidbody_constraint_remove(struct Main *bmain, struct Scene *scene, struct Object *ob); | ||||
| /* operators */ | /* operators */ | ||||
| void ED_operatortypes_physics(void); | void ED_operatortypes_physics(void); | ||||
| void ED_keymap_physics(struct wmKeyConfig *keyconf); | void ED_keymap_physics(struct wmKeyConfig *keyconf); | ||||
| #endif /* __ED_PHYSICS_H__ */ | #endif /* __ED_PHYSICS_H__ */ | ||||