/Users/ccliffe/Dev/cubicvr/cubicvr/include/CubicVR/ph/ph.h File Reference

#include "CubicVR/cvr_defines.h"
#include "CubicVR/GLExt.h"
#include "math.h"

Include dependency graph for ph.h:

This graph shows which files directly or indirectly include this file:


Classes

struct  PHviewportRec
struct  PHsurfaceRec
struct  PHvec3Rec

Defines

#define PH_PI   (3.14159265358979323846f)

Typedefs

typedef struct PHviewportRec PHviewport
typedef struct PHsurfaceRec PHsurface
typedef struct PHvec3Rec PHvec3

Functions

void phCreateSurface (PHsurface *, GLboolean depth, GLboolean fp, GLboolean linear, int attachments=1)
void phDestroySurface (PHsurface *surface)
void phBindSurface (const PHsurface *)
void phClearSurface ()
void phCheckFBO ()
void phCheckError (const char *)
GLuint phCompile (const char *vert, const char *frag)
void phNormalize (PHvec3 *)
PHvec3 phAdd (const PHvec3 *, const PHvec3 *)
PHvec3 phSub (const PHvec3 *, const PHvec3 *)

Define Documentation

#define PH_PI   (3.14159265358979323846f)


Typedef Documentation

typedef struct PHsurfaceRec PHsurface

typedef struct PHvec3Rec PHvec3

typedef struct PHviewportRec PHviewport


Function Documentation

PHvec3 phAdd ( const PHvec3 ,
const PHvec3  
)

void phBindSurface ( const PHsurface  ) 

void phCheckError ( const char *   ) 

void phCheckFBO (  ) 

void phClearSurface (  ) 

GLuint phCompile ( const char *  vert,
const char *  frag 
)

void phCreateSurface ( PHsurface ,
GLboolean  depth,
GLboolean  fp,
GLboolean  linear,
int  attachments = 1 
)

Here is the call graph for this function:

void phDestroySurface ( PHsurface surface  ) 

void phNormalize ( PHvec3  ) 

PHvec3 phSub ( const PHvec3 ,
const PHvec3  
)


Generated on Thu Mar 19 19:33:04 2009 for CubicVR by  doxygen 1.5.6