mirror of
https://github.com/izzy2lost/ppsspp.git
synced 2026-03-10 12:43:04 -07:00
Fixes from fixing the mac port
This commit is contained in:
@@ -4,16 +4,7 @@
|
||||
#include <math.h>
|
||||
#include <string.h> // memset
|
||||
|
||||
inline float sqr(float f) {return f*f;}
|
||||
inline float sqr_signed(float f) {return f<0 ? -f*f : f*f;}
|
||||
|
||||
#ifndef PI
|
||||
#define PI (3.141592654f)
|
||||
#endif
|
||||
#define PI_INV (0.318309886f)
|
||||
|
||||
class Matrix4x4;
|
||||
// class Quaternion;
|
||||
|
||||
// Hm, doesn't belong in this file.
|
||||
class Vec4 {
|
||||
|
||||
@@ -4,6 +4,9 @@
|
||||
#include <math.h>
|
||||
#include <string.h>
|
||||
|
||||
inline float sqr(float f) {return f*f;}
|
||||
inline float sqr_signed(float f) {return f<0 ? -f*f : f*f;}
|
||||
|
||||
typedef unsigned short float16;
|
||||
|
||||
// This ain't a 1.5.10 float16, it's a stupid hack format where we chop 16 bits off a float.
|
||||
|
||||
Reference in New Issue
Block a user