summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/swgfx.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/swgfx.h b/include/swgfx.h
index 9905382..cdeefe8 100644
--- a/include/swgfx.h
+++ b/include/swgfx.h
@@ -34,11 +34,13 @@ typedef sgVec3 sgNormal;
34typedef struct sgVert2i { sgVec2i pos; sgVec2 uv; } sgVert2i; 34typedef struct sgVert2i { sgVec2i pos; sgVec2 uv; } sgVert2i;
35typedef struct sgVert2 { sgVec2 pos; sgVec2 uv; } sgVert2; 35typedef struct sgVert2 { sgVec2 pos; sgVec2 uv; } sgVert2;
36typedef struct sgVert3 { sgVec3 pos; sgVec2 uv; } sgVert3; 36typedef struct sgVert3 { sgVec3 pos; sgVec2 uv; } sgVert3;
37typedef struct sgVert4 { sgVec4 pos; sgVec2 uv; } sgVert4;
37 38
38typedef struct sgQuadi { sgVert2i p0, p1; } sgQuadi; 39typedef struct sgQuadi { sgVert2i p0, p1; } sgQuadi;
39typedef struct sgQuad { sgVert2 p0, p1; } sgQuad; 40typedef struct sgQuad { sgVert2 p0, p1; } sgQuad;
40typedef struct sgTri2 { sgVert2 p0, p1, p2; } sgTri2; 41typedef struct sgTri2 { sgVert2 p0, p1, p2; } sgTri2;
41typedef struct sgTri3 { sgVert3 p0, p1, p2; } sgTri3; 42typedef struct sgTri3 { sgVert3 p0, p1, p2; } sgTri3;
43typedef struct sgTri4 { sgVert4 p0, p1, p2; } sgTri4;
42 44
43typedef uint16_t sgIdx; 45typedef uint16_t sgIdx;
44typedef struct sgVertIdx { sgIdx pos, uv, normal; } sgVertIdx; 46typedef struct sgVertIdx { sgIdx pos, uv, normal; } sgVertIdx;