Initial commit
This commit is contained in:
55
application/demos/example.opengl/engine/quadMesh.h
Normal file
55
application/demos/example.opengl/engine/quadMesh.h
Normal file
@@ -0,0 +1,55 @@
|
||||
#ifndef _quadMesh
|
||||
|
||||
#define _quadMesh
|
||||
|
||||
|
||||
// Macros
|
||||
|
||||
|
||||
|
||||
#include "stdlib.h"
|
||||
|
||||
extern char * __ClassNames[];
|
||||
|
||||
|
||||
// Includes
|
||||
|
||||
#include "vector.h"
|
||||
|
||||
#include "vector3.h"
|
||||
|
||||
#include "vector2.h"
|
||||
|
||||
|
||||
typedef struct quadMesh{
|
||||
|
||||
vector2 position;
|
||||
|
||||
vector2 size;
|
||||
|
||||
vector3 color;
|
||||
|
||||
float zIndex;
|
||||
|
||||
float opacity;
|
||||
|
||||
int textureIndex;
|
||||
|
||||
int features;
|
||||
|
||||
int elementIndex;
|
||||
|
||||
|
||||
} quadMesh;
|
||||
|
||||
quadMesh quadMesh_new( );
|
||||
|
||||
quadMesh * quadMesh_newPointer( );
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
typedef struct quadMesh quadMesh;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user