Triangle ===== [Triangle](https://wiki.ffrtt.ru/index.php?title=FF8/FileFormat_X#Triangle) Total Size: 20 bytes | Offset (bytes) | Size (bytes) | Name | Description
Formula | |:--------------:|:------------:|--------------------|--------------------------------------------------------------------------------------------------------------------------------------------| | 0 | 2 | m_face_indice_a | Face index A | | 2 | 2 | m_face_indice_b | Face index B | | 4 | 2 | m_face_indice_c | Face index C | | 6 | 2 | m_uv1 | UV coordinate 1 | | 8 | 2 | m_uv2 | UV coordinate 2 | | 10 | 2 | m_raw_clut | Raw CLUT value
{math}`((\text{raw_clut} \gg 6) ∣ (\text{raw_clut} \ll (16 - 6))) \;\&\; 15`
https://www.godbolt.org/z/nMMhe8Ehh | | 12 | 2 | m_uv3 | UV coordinate 3 | | 14 | 1 | m_raw_texture_page | Raw texture page value (only the second 4 bits)
{math}`(\text{raw_texture_page} \gg 4) \;\&\; 15` | | 15 | 1 | m_raw_hide | Raw hide value
{math}`\text{raw_hide} \neq 0` | | 16 | 3 | m_color | Color value
(graphics::Color24RGB) | | 19 | 1 | m_raw_gpu | Raw GPU flags | ```{eval-rst} .. doxygenstruct:: open_viii::battle::stage::Triangle :members: ```