Blender  V3.3
ED_physics.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later
2  * Copyright 2007 by Janne Karhu. All rights reserved. */
3 
8 #pragma once
9 
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13 
14 struct ReportList;
15 struct bContext;
16 struct wmKeyConfig;
17 
18 struct Object;
19 struct Scene;
20 
21 /* particle_edit.c */
22 
23 bool PE_poll(struct bContext *C);
24 bool PE_hair_poll(struct bContext *C);
25 bool PE_poll_view3d(struct bContext *C);
26 
27 /* rigidbody_object.c */
28 
29 bool ED_rigidbody_object_add(struct Main *bmain,
30  struct Scene *scene,
31  struct Object *ob,
32  int type,
33  struct ReportList *reports);
34 void ED_rigidbody_object_remove(struct Main *bmain, struct Scene *scene, struct Object *ob);
35 
36 /* rigidbody_constraint.c */
37 
38 bool ED_rigidbody_constraint_add(struct Main *bmain,
39  struct Scene *scene,
40  struct Object *ob,
41  int type,
42  struct ReportList *reports);
43 void ED_rigidbody_constraint_remove(struct Main *bmain, struct Scene *scene, struct Object *ob);
44 
45 /* operators */
46 void ED_operatortypes_physics(void);
47 void ED_keymap_physics(struct wmKeyConfig *keyconf);
48 
49 #ifdef __cplusplus
50 }
51 #endif
void ED_operatortypes_physics(void)
Definition: physics_ops.c:150
bool PE_hair_poll(struct bContext *C)
void ED_rigidbody_constraint_remove(struct Main *bmain, struct Scene *scene, struct Object *ob)
bool PE_poll(struct bContext *C)
Definition: particle_edit.c:80
void ED_keymap_physics(struct wmKeyConfig *keyconf)
Definition: physics_ops.c:159
bool PE_poll_view3d(struct bContext *C)
void ED_rigidbody_object_remove(struct Main *bmain, struct Scene *scene, struct Object *ob)
bool ED_rigidbody_constraint_add(struct Main *bmain, struct Scene *scene, struct Object *ob, int type, struct ReportList *reports)
bool ED_rigidbody_object_add(struct Main *bmain, struct Scene *scene, struct Object *ob, int type, struct ReportList *reports)
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum type
#define C
Definition: RandGen.cpp:25
Scene scene
Definition: BKE_main.h:121