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",
|
"-inline auto,deferred",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
# Dolphin library flags
|
||||||
|
cflags_dolphin = [
|
||||||
|
*cflags_base,
|
||||||
|
"-fp_contract off",
|
||||||
|
]
|
||||||
|
|
||||||
# Metrowerks library flags
|
# Metrowerks library flags
|
||||||
cflags_msl = [
|
cflags_msl = [
|
||||||
*cflags_base,
|
*cflags_base,
|
||||||
|
|
@ -304,7 +310,7 @@ def DolphinLib(lib_name, objects):
|
||||||
return {
|
return {
|
||||||
"lib": lib_name,
|
"lib": lib_name,
|
||||||
"mw_version": "GC/1.2.5n",
|
"mw_version": "GC/1.2.5n",
|
||||||
"cflags": cflags_base,
|
"cflags": cflags_dolphin,
|
||||||
"host": False,
|
"host": False,
|
||||||
"objects": objects,
|
"objects": objects,
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,9 @@
|
||||||
#include "dolphin/mtx.h"
|
#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)
|
void PSQUATMultiply(register const Quaternion *a, register const Quaternion *b, register Quaternion *ab)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue