mirror of
https://github.com/HarbourMasters/2ship2harkinian.git
synced 2024-11-23 22:19:53 +00:00
cleanup
This commit is contained in:
parent
b4626812f6
commit
9c2c3f1bb8
@ -87,9 +87,6 @@
|
||||
#define VTX_T(x, y, z, s, t, cr, cg, cb, a) \
|
||||
{ { x, y, z }, 0, { s, t }, { cr, cg, cb, a }, }
|
||||
|
||||
#define SQ(x) ((x) * (x))
|
||||
#define ABS(x) ((x) >= 0 ? (x) : -(x))
|
||||
#define ABS_ALT(x) ((x) < 0 ? -(x) : (x))
|
||||
#define DECR(x) ((x) == 0 ? 0 : --(x))
|
||||
|
||||
#define CLAMP(x, min, max) ((x) < (min) ? (min) : (x) > (max) ? (max) : (x))
|
||||
|
@ -1459,7 +1459,7 @@ extern f32 D_801E0134;
|
||||
extern f32 D_801E0138;
|
||||
extern f32 D_801E013C;
|
||||
extern f32 D_801E0140;
|
||||
extern f32 Math3D_CosOut_min_length;
|
||||
extern f32 Math3D_AngleBetweenVectors_min_length;
|
||||
extern f32 D_801E0148;
|
||||
extern f32 D_801E014C;
|
||||
extern f32 Math3D_UnitNormalVector_min_length;
|
||||
|
@ -1,5 +1,6 @@
|
||||
#include "libc/math.h"
|
||||
#include "macros.h"
|
||||
#include "ultra64.h"
|
||||
#include "z64math.h"
|
||||
|
||||
#pragma weak cosf = __cosf
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
#include "libc/math.h"
|
||||
#include "macros.h"
|
||||
#include "ultra64.h"
|
||||
#include "z64math.h"
|
||||
|
||||
#pragma weak sinf = __sinf
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user