diff options
| author | Andreas Fankhauser hiddenalpha.ch | 2025-11-23 15:43:21 +0100 |
|---|---|---|
| committer | Andreas Fankhauser hiddenalpha.ch | 2025-11-23 15:43:21 +0100 |
| commit | bde648cc5263a8c07758b604e57c2e7128d378bb (patch) | |
| tree | 2602c974af75ec9c152e6659e93833b73462142b /include/qntan | |
| parent | 943d9409c0a9bf34a9efb1c57206d18a53a00d62 (diff) | |
| download | Qntan-bde648cc5263a8c07758b604e57c2e7128d378bb.tar.gz Qntan-bde648cc5263a8c07758b604e57c2e7128d378bb.zip | |
tinker
Diffstat (limited to 'include/qntan')
| -rw-r--r-- | include/qntan/Qntan.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/qntan/Qntan.h b/include/qntan/Qntan.h index 748e243..cb1bcae 100644 --- a/include/qntan/Qntan.h +++ b/include/qntan/Qntan.h @@ -1146,6 +1146,10 @@ struct Qntan_GfxVtx2d { float x, y; }; +struct Qntan_GfxVtx4d { + float x, y, z, w; +}; + struct Qntan_GfxVtx2dColor { float x, y; uint32_t rgba8888; @@ -1162,7 +1166,7 @@ struct Qntan_GfxRenderer { /* WARN: All around graphics rendering is heavily experimental! Make * sure you're ready to handle all kind of changes here. */ - void (*setScissor)( struct Garbage_Renderer**, int x, int y, int w, int h ); + void (*setScissor)( struct Qntan_GfxRenderer**, int x, int y, int w, int h ); /**/ void (*triangleStrip2d)( struct Qntan_GfxRenderer**, struct Qntan_GfxVtx2dColor const*vertices, int vertices_cnt ); |
