diff options
Diffstat (limited to 'include/swgfx.h')
| -rw-r--r-- | include/swgfx.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/swgfx.h b/include/swgfx.h index e9e69b8..9c3361d 100644 --- a/include/swgfx.h +++ b/include/swgfx.h | |||
| @@ -72,7 +72,8 @@ void sgDel(swgfx**); | |||
| 72 | 72 | ||
| 73 | // TODO: Write client app first, then implement the functions below in the C file. | 73 | // TODO: Write client app first, then implement the functions below in the C file. |
| 74 | 74 | ||
| 75 | void sgPresent(swgfx*, sgVec2i dimensions, sgScreenPixel* screen); | 75 | sgPixel* sgColourBuffer(swgfx*); |
| 76 | void sgPresent(swgfx*, sgVec2i dimensions, sgScreenPixel* screen); | ||
| 76 | 77 | ||
| 77 | void sgModelId (swgfx*); | 78 | void sgModelId (swgfx*); |
| 78 | void sgModel (swgfx*, sgVec3 position, sgVec3 right, sgVec3 up, sgVec3 forward); | 79 | void sgModel (swgfx*, sgVec3 position, sgVec3 right, sgVec3 up, sgVec3 forward); |
| @@ -94,4 +95,7 @@ void sgTriangleStrip (swgfx*, size_t count, const sgVec3*, const sgNormal*); | |||
| 94 | void sgTrianglesIndexed(swgfx*, size_t numIndices, const sgIdx* indices, const sgVec3* positions, const sgVec2* texcoords); | 95 | void sgTrianglesIndexed(swgfx*, size_t numIndices, const sgIdx* indices, const sgVec3* positions, const sgVec2* texcoords); |
| 95 | void sgTrianglesIndexedNonUniform(swgfx*, size_t numTris, const sgTriIdx* tris, const sgVec3* positions, const sgVec2* texcoords); | 96 | void sgTrianglesIndexedNonUniform(swgfx*, size_t numTris, const sgTriIdx* tris, const sgVec3* positions, const sgVec2* texcoords); |
| 96 | 97 | ||
| 98 | void sgGamma (swgfx*, sgPixel*, int width, int height); | ||
| 99 | void sgGammaInv(swgfx*, sgPixel*, int width, int height); | ||
| 100 | |||
| 97 | void sgCheck(swgfx*); | 101 | void sgCheck(swgfx*); |
