mirror of
https://github.com/izzy2lost/2ship2harkinian-Android.git
synced 2026-06-19 01:20:08 -07:00
cleanup
This commit is contained in:
@@ -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))
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user