diff options
| author | John Wilbert M. Villamor <lameguy64@gmail.com> | 2019-07-17 11:30:07 +0800 |
|---|---|---|
| committer | John Wilbert M. Villamor <lameguy64@gmail.com> | 2019-07-17 11:30:07 +0800 |
| commit | 0d4345a9bf2623df079c50a3bc73cbb7deca1176 (patch) | |
| tree | 6cda70b844f39fc2d65a806b91a6010066433b56 /libpsn00b/include/psxgte.h | |
| parent | b956c5391b955e793a4d54572aa58872b4c66c30 (diff) | |
| download | psn00bsdk-0d4345a9bf2623df079c50a3bc73cbb7deca1176.tar.gz | |
Added C++ support, updated build instructions and makefiles, consolidated libc and libgcc (during build process), libraries now v0.12b and more
Diffstat (limited to 'libpsn00b/include/psxgte.h')
| -rw-r--r-- | libpsn00b/include/psxgte.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libpsn00b/include/psxgte.h b/libpsn00b/include/psxgte.h index 0a8ded0..43d529a 100644 --- a/libpsn00b/include/psxgte.h +++ b/libpsn00b/include/psxgte.h @@ -29,6 +29,10 @@ typedef struct { unsigned char r, g, b, cd; } CVECTOR; +typedef struct { + short vx, vy; +} DVECTOR; + #ifdef __cplusplus extern "C" { @@ -46,8 +50,8 @@ int icos(int a); int hisin(int a); int hicos(int a); -void PushMatrix(); -void PopMatrix(); +void PushMatrix(void); +void PopMatrix(void); MATRIX *RotMatrix(SVECTOR *r, MATRIX *m); MATRIX *HiRotMatrix(VECTOR *r, MATRIX *m); |
