* 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:
2003-06-24 07:21:17 +00:00
parent a0ea4df1ba
commit 06ee04fb05
25 changed files with 1330 additions and 1362 deletions

View File

@@ -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 */
/*****************************************************************************/