- initial import
git-svn-id: http://moon:8086/svn/mips@1 a8ebac50-d88d-4704-bea3-6648445a41b3
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
#ifndef RENDER_H
|
||||
#define RENDER_H
|
||||
|
||||
#include "ri.h"
|
||||
#include "types.h"
|
||||
#include "matrix.h"
|
||||
#include "graph_state.h"
|
||||
#include "stack.h"
|
||||
#include "object.h"
|
||||
#include "vars.h"
|
||||
#include "engine.h"
|
||||
#include "imageio.h"
|
||||
#include "colortypes.h"
|
||||
#include "bintree.h"
|
||||
|
||||
typedef struct _sshaded_pixel_t
|
||||
{
|
||||
rgba_t cs, os;
|
||||
double z;
|
||||
|
||||
} shaded_pixel_t;
|
||||
|
||||
typedef struct _srender_t
|
||||
{
|
||||
image_t *pImage;
|
||||
RtFloat ku, kv, screen_u, screen_v;
|
||||
graph_state_t *pG;
|
||||
linkedlist_t *pLightList;
|
||||
shaded_pixel_t **ppPixel;
|
||||
|
||||
} render_t;
|
||||
|
||||
void RenderWire_polygon(render_t *pObj, object_t *pObject);
|
||||
void RenderWire_patch(render_t *pObj, object_t *pObject);
|
||||
void RenderPoints(render_t *pObj, object_t *pObject);
|
||||
void Render_patchmesh(render_t *pObj, object_t *pObject);
|
||||
void Render_sphere(render_t *pObj, object_t *pObject);
|
||||
void Render_patch(render_t *pObj, object_t *pObject);
|
||||
|
||||
#endif // RENDER_H
|
||||
Reference in New Issue
Block a user