Colour Cube: Difference between revisions

m
Normalization
(Added infobox.)
m (Normalization)
Line 21:
==== 32-bit ====
{| class="wikitable"
|-
! Offset !! Length !! Type !! Name !! Description !! Comments
|-
Line 31 ⟶ 30:
==== 64-bit ====
{| class="wikitable"
|-
! Offset !! Length !! Type !! Name !! Description !! Comments
|-
| 0x0 || 0x4 || uint32_t || m_size || The number of textures and their width/height. || Used to calculate file size (m_size^3 * 3 + 16)
|-
| 0x4 || 0x4 || || paddingPadding || ||
|-
| 0x8 || 0x8 || uint8_t* || m_pixels || Pointer to the texture data. ||
Line 50 ⟶ 48:
 
{| class="wikitable"
|-
! x !! y !! z !! offset (m_size = 16)
|- style="vertical-align:top;"
Line 71 ⟶ 68:
 
{| class="wikitable"
|-
! x !! y !! z !! offset (m_size = 32)
|- style="vertical-align:top;"