libultraship
Reimplementations of libultra (N64 SDK) functions for modern hardware
Loading...
Searching...
No Matches
types.h
Go to the documentation of this file.
1#pragma once
2
3typedef int Mtx_t[4][4];
4typedef union {
6 struct {
7 unsigned short int intPart[4][4];
8 unsigned short int fracPart[4][4];
9 };
11} MtxS;
12
13typedef float MtxF_t[4][4];
14typedef union {
16 struct {
17 float xx, yx, zx, wx, xy, yy, zy, wy, xz, yz, zz, wz, xw, yw, zw, ww;
18 };
19} MtxF;
20
21#ifndef GBI_FLOATS
22typedef MtxS Mtx;
23#else
24typedef MtxF Mtx;
25#endif
float MtxF_t[4][4]
Definition types.h:13
MtxS Mtx
Definition types.h:22
int Mtx_t[4][4]
Definition types.h:3
Definition types.h:14
MtxF_t mf
Definition types.h:15
float ww
Definition types.h:17
Definition types.h:4
Mtx_t m
Definition types.h:5
long long int forc_structure_alignment
Definition types.h:10