gem5/splash2/codes/apps/radiosity/structs.H

35 lines
722 B
C

#ifndef _STRUCTS_H
#define _STRUCTS_H
/************************************************************************
*
* Vertex - 3D coordinate
*
*************************************************************************/
typedef struct {
float x, y, z ;
} Vertex;
/************************************************************************
*
* Color (R,G,B)
*
*************************************************************************/
typedef struct {
float r, g, b ;
} Rgb;
/************************************************************************
*
* Ray - 3D coordinate
*
*************************************************************************/
typedef struct {
float x, y, z;
} Ray;
#endif