mtxquat fixes
This commit is contained in:
parent
5bfbe7814b
commit
5877067872
2 changed files with 12 additions and 2 deletions
|
|
@ -210,6 +210,12 @@ cflags_runtime = [
|
|||
"-inline auto,deferred",
|
||||
]
|
||||
|
||||
# Dolphin library flags
|
||||
cflags_dolphin = [
|
||||
*cflags_base,
|
||||
"-fp_contract off",
|
||||
]
|
||||
|
||||
# Metrowerks library flags
|
||||
cflags_msl = [
|
||||
*cflags_base,
|
||||
|
|
@ -304,7 +310,7 @@ def DolphinLib(lib_name, objects):
|
|||
return {
|
||||
"lib": lib_name,
|
||||
"mw_version": "GC/1.2.5n",
|
||||
"cflags": cflags_base,
|
||||
"cflags": cflags_dolphin,
|
||||
"host": False,
|
||||
"objects": objects,
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,9 @@
|
|||
#include "dolphin/mtx.h"
|
||||
#include "math.h"
|
||||
|
||||
float acosf(float x);
|
||||
|
||||
float sinf(float x);
|
||||
float cosf(float x);
|
||||
|
||||
void PSQUATMultiply(register const Quaternion *a, register const Quaternion *b, register Quaternion *ab)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue