* Added more doc files for epydoc and a test for the camera module.
* Moved public declarations in camera and lamp to a new file: bpy_types.h. * Fixed minor bugs in material, rgbTuple and Lamp + other minor changes. * Made part of the changes to conform to decided naming conventions.
This commit is contained in:
@@ -39,18 +39,18 @@
|
||||
#include "rgbTuple.h"
|
||||
|
||||
/*****************************************************************************/
|
||||
/* Python C_Material structure definition: */
|
||||
/* Python BPy_Material structure definition: */
|
||||
/*****************************************************************************/
|
||||
typedef struct {
|
||||
PyObject_HEAD
|
||||
Material *material;
|
||||
C_rgbTuple *rgb, *amb, *spec, *mir;
|
||||
BPy_rgbTuple *col, *amb, *spec, *mir;
|
||||
|
||||
} C_Material;
|
||||
} BPy_Material;
|
||||
|
||||
extern PyTypeObject Material_Type; /* The Material PyType Object */
|
||||
|
||||
#define C_Material_Check(v) \
|
||||
#define BPy_Material_Check(v) \
|
||||
((v)->ob_type == &Material_Type) /* for type checking */
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user