include/raytracermodule.h
branchpyrit
changeset 97 2a853d284a6a
parent 96 9eb71e76c7fd
child 98 64638385798a
equal deleted inserted replaced
96:9eb71e76c7fd 97:2a853d284a6a
   164 typedef struct {
   164 typedef struct {
   165 	PyObject_HEAD
   165 	PyObject_HEAD
   166 	Material *material;
   166 	Material *material;
   167 } MaterialObject;
   167 } MaterialObject;
   168 
   168 
   169 /** NormalVertex object */
   169 /** Vertex object */
   170 typedef struct {
   170 typedef struct {
   171 	PyObject_HEAD
   171 	PyObject_HEAD
   172 	NormalVertex *nvertex;
   172 	Vertex *vertex;
       
   173 } VertexObject;
       
   174 
       
   175 /** NormalVertex object - inherits Vertex*/
       
   176 typedef struct {
       
   177 	VertexObject vertex;
   173 } NormalVertexObject;
   178 } NormalVertexObject;
   174 
   179 
   175 /** abstract Shape object */
   180 /** abstract Shape object */
   176 typedef struct {
   181 typedef struct {
   177 	PyObject_HEAD
   182 	PyObject_HEAD