mirror of
https://github.com/pret/pokestadium.git
synced 2026-03-21 17:24:20 -05:00
22 lines
597 B
C
22 lines
597 B
C
#ifndef GFX_H
|
|
#define GFX_H
|
|
|
|
/**
|
|
* `x` vertex x
|
|
* `y` vertex y
|
|
* `z` vertex z
|
|
* `s` texture s coordinate
|
|
* `t` texture t coordinate
|
|
* `crnx` red component of color vertex, or x component of normal vertex
|
|
* `cgny` green component of color vertex, or y component of normal vertex
|
|
* `cbnz` blue component of color vertex, or z component of normal vertex
|
|
* `a` alpha
|
|
*/
|
|
#define VTX(x, y, z, s, t, crnx, cgny, cbnz, a) \
|
|
{ { { x, y, z }, 0, { s, t }, { crnx, cgny, cbnz, a } }, }
|
|
|
|
#define VTX_T(x, y, z, s, t, cr, cg, cb, a) \
|
|
{ { x, y, z }, 0, { s, t }, { cr, cg, cb, a }, }
|
|
|
|
#endif
|