diff options
| author | 3gg <3gg@shellblade.net> | 2026-02-14 19:18:12 -0800 |
|---|---|---|
| committer | 3gg <3gg@shellblade.net> | 2026-02-14 19:18:12 -0800 |
| commit | 117c310e8baf60aa5f052214e1747b5846f34b4e (patch) | |
| tree | c9a63caf01a13cf575d88ed39dae8680faa601a5 /include/swgfx.h | |
| parent | e0dd69febc8f73b0e39e14d070ecf6b73bbe2d4f (diff) | |
Directional light
Diffstat (limited to 'include/swgfx.h')
| -rw-r--r-- | include/swgfx.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/swgfx.h b/include/swgfx.h index d527f02..f849ba5 100644 --- a/include/swgfx.h +++ b/include/swgfx.h | |||
| @@ -31,7 +31,7 @@ typedef float R; | |||
| 31 | typedef struct sgVec2i { int x, y; } sgVec2i; | 31 | typedef struct sgVec2i { int x, y; } sgVec2i; |
| 32 | typedef struct sgVec2 { R x, y; } sgVec2; | 32 | typedef struct sgVec2 { R x, y; } sgVec2; |
| 33 | typedef struct sgVec3 { union { struct { R r, g, b; }; struct { R x, y, z; }; }; } sgVec3; | 33 | typedef struct sgVec3 { union { struct { R r, g, b; }; struct { R x, y, z; }; }; } sgVec3; |
| 34 | typedef struct sgVec4 { union { struct { R r, g, b, a; }; struct { R x, y, z, w; }; }; } sgVec4; | 34 | typedef struct sgVec4 { union { struct { R r, g, b, a; }; struct { R x, y, z, w; }; struct { sgVec3 rgb; R _; }; }; } sgVec4; |
| 35 | 35 | ||
| 36 | typedef sgVec3 sgNormal; | 36 | typedef sgVec3 sgNormal; |
| 37 | 37 | ||
