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
3
typedef
int
Mtx_t
[4][4];
4
typedef
union
{
5
Mtx_t
m
;
6
struct
{
7
unsigned
short
int
intPart[4][4];
8
unsigned
short
int
fracPart[4][4];
9
};
10
long
long
int
forc_structure_alignment
;
11
}
MtxS
;
12
13
typedef
float
MtxF_t
[4][4];
14
typedef
union
{
15
MtxF_t
mf
;
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
22
typedef
MtxS
Mtx
;
23
#else
24
typedef
MtxF
Mtx
;
25
#endif
MtxF_t
float MtxF_t[4][4]
Definition
types.h:13
Mtx
MtxS Mtx
Definition
types.h:22
Mtx_t
int Mtx_t[4][4]
Definition
types.h:3
MtxF
Definition
types.h:14
MtxF::mf
MtxF_t mf
Definition
types.h:15
MtxF::ww
float ww
Definition
types.h:17
MtxS
Definition
types.h:4
MtxS::m
Mtx_t m
Definition
types.h:5
MtxS::forc_structure_alignment
long long int forc_structure_alignment
Definition
types.h:10
include
fast
types.h
Generated by
1.9.8