Blender  V2.93
ED_physics.h
Go to the documentation of this file.
1 /*
2  * This program is free software; you can redistribute it and/or
3  * modify it under the terms of the GNU General Public License
4  * as published by the Free Software Foundation; either version 2
5  * of the License, or (at your option) any later version.
6  *
7  * This program is distributed in the hope that it will be useful,
8  * but WITHOUT ANY WARRANTY; without even the implied warranty of
9  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10  * GNU General Public License for more details.
11  *
12  * You should have received a copy of the GNU General Public License
13  * along with this program; if not, write to the Free Software Foundation,
14  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15  *
16  * The Original Code is Copyright (C) 2007 by Janne Karhu.
17  * All rights reserved.
18  */
19 
24 #pragma once
25 
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29 
30 struct ReportList;
31 struct bContext;
32 struct wmKeyConfig;
33 
34 struct Object;
35 struct Scene;
36 
37 /* particle_edit.c */
38 bool PE_poll(struct bContext *C);
39 bool PE_hair_poll(struct bContext *C);
40 bool PE_poll_view3d(struct bContext *C);
41 
42 /* rigidbody_object.c */
43 bool ED_rigidbody_object_add(struct Main *bmain,
44  struct Scene *scene,
45  struct Object *ob,
46  int type,
47  struct ReportList *reports);
48 void ED_rigidbody_object_remove(struct Main *bmain, struct Scene *scene, struct Object *ob);
49 
50 /* rigidbody_constraint.c */
51 bool ED_rigidbody_constraint_add(struct Main *bmain,
52  struct Scene *scene,
53  struct Object *ob,
54  int type,
55  struct ReportList *reports);
56 void ED_rigidbody_constraint_remove(struct Main *bmain, struct Scene *scene, struct Object *ob);
57 
58 /* operators */
59 void ED_operatortypes_physics(void);
60 void ED_keymap_physics(struct wmKeyConfig *keyconf);
61 
62 #ifdef __cplusplus
63 }
64 #endif
void ED_operatortypes_physics(void)
Definition: physics_ops.c:166
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:95
void ED_keymap_physics(struct wmKeyConfig *keyconf)
Definition: physics_ops.c:175
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:39
Scene scene
Definition: BKE_main.h:116