mirror of
https://github.com/zeldaret/oot.git
synced 2024-11-29 03:34:07 +00:00
7e195a3562
* osPfsIsPlug.c and osContSetCh.c OK * update * __osPfsGetStatus.c OK * removed unused asm * Updated all libultra controller files to use new structs instead of the temporary structs. Added os_pfs.h * controller updates * fixed header guard * Made suggested changes * guLookAt.c OK * commit * __osPfsSelectBank.c OK * osPfsDeleteFile.c OK * pfsreadwritefile.c OK * osPfsFreeBlocks.c OK * cleaned up ospfsfreeblocks * started pfsinitpak.c * pfsallocatefile.c OK * contpfs.c decompiled with 1 non matching * osPfsFindFile.c OK * pfsinitpak.c decompiled. one non-matching * Actually fixed merge conflict * sins.c OK * cosf.c sinf.c and sins.c OK * moved osAfterPreNMI to its own file. Renamed code_801031F0 to contquery.c * pfschecker.c OK * final update and rename * Removed makefile testing thing that i accidentally added * Made suggested changes
14 lines
391 B
C
14 lines
391 B
C
#ifndef _ULTRA64_GU_H_
|
|
#define _ULTRA64_GU_H_
|
|
|
|
#define GU_PI 3.1415926
|
|
/* Functions */
|
|
|
|
#define ROUND(x) (s32)(((x) >= 0.0) ? ((x) + 0.5) : ((x) - 0.5))
|
|
|
|
void guPerspectiveF(float mf[4][4], u16 *perspNorm, float fovy, float aspect,
|
|
float near, float far, float scale);
|
|
void guPerspective(Mtx *m, u16 *perspNorm, float fovy, float aspect, float near,
|
|
float far, float scale);
|
|
|
|
#endif
|