|
Torch
|
If the Resource Type is OMTX (0x4F4D5458), the header is immediately followed by the matrix definition.
| Offset | Size | Type | Description |
|---|---|---|---|
| 0x40 | 64 | Mtx | The 4x4 Matrix data. |
The matrix data consists of 16 values representing a 4x4 transformation matrix. Depending on the configuration (gbi.useFloats), these values are stored either as:
To define a matrix asset in the configuration, use the MTX type.
| Field | Type | Description |
|---|---|---|
| type | String | Must be MTX. |
| offset | Integer | The offset of the matrix in the ROM/binary. |
| symbol | String | (Optional) The symbol name for the asset. |
Example: