mirror of
https://github.com/izzy2lost/Starship.git
synced 2026-07-05 15:19:42 -07:00
Library split (#5)
* fixed * and cleanup * format * let's all go to the library * split * small cleanup
This commit is contained in:
@@ -3,6 +3,16 @@
|
||||
|
||||
#include "PR/ultratypes.h"
|
||||
|
||||
double fabsf(double f);
|
||||
#pragma intrinsic(fabsf)
|
||||
|
||||
#define M_PI 3.14159265358979323846f
|
||||
#define M_SQRT2 1.41421356237309504880f
|
||||
#define M_SQRT1_2 0.70710678118654752440f /* 1/sqrt(2) */
|
||||
#define FLT_MAX 340282346638528859811704183484516925440.0f
|
||||
#define SHT_MAX 32767.0f
|
||||
#define SHT_MINV (1.0f / SHT_MAX)
|
||||
|
||||
typedef struct {
|
||||
/* 0x0 */ f32 x;
|
||||
/* 0x4 */ f32 y;
|
||||
|
||||
Reference in New Issue
Block a user