* 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:
@@ -41,19 +41,19 @@
|
||||
* objects, so this header file must contain only 'public' declarations */
|
||||
|
||||
/*****************************************************************************/
|
||||
/* Python C_rgbTuple structure definition: */
|
||||
/* Python BPy_rgbTuple structure definition: */
|
||||
/*****************************************************************************/
|
||||
typedef struct {
|
||||
PyObject_HEAD
|
||||
float *rgb[3]; /* array of three pointers to floats */
|
||||
|
||||
} C_rgbTuple;
|
||||
} BPy_rgbTuple;
|
||||
|
||||
/*****************************************************************************/
|
||||
/* Python API function prototypes for the rgbTuple helper module. */
|
||||
/*****************************************************************************/
|
||||
PyObject *rgbTuple_New (float *rgb[3]);
|
||||
PyObject *rgbTuple_getCol (C_rgbTuple *self);
|
||||
PyObject *rgbTuple_setCol (C_rgbTuple *self, PyObject *args);
|
||||
PyObject *rgbTuple_getCol (BPy_rgbTuple *self);
|
||||
PyObject *rgbTuple_setCol (BPy_rgbTuple *self, PyObject *args);
|
||||
|
||||
#endif /* EXPP_rgbTuple_H */
|
||||
|
Reference in New Issue
Block a user