d_ky_thunder done / d_scope wip / m_Do_graphic wip (#308)

* d_ky_thunder OK + misc build fixes

* d_scope mostly done

* some m_Do_graphic wip

* remove asm
This commit is contained in:
TakaRikka
2023-03-14 15:27:46 -07:00
committed by GitHub
parent 500d079c40
commit a01d65b0b9
45 changed files with 1493 additions and 1995 deletions
+8 -4
View File
@@ -21,12 +21,16 @@ inline float __frsqrtes(register double f) {
return out;
}
inline f32 JMAFastSqrt(f32 input) {
inline f32 JMAFastSqrt(register f32 input) {
if (input > 0.0f) {
f32 tmp = __frsqrtes(input);
return tmp * input;
register f32 out;
asm {
frsqrte out, input
}
return out * input;
} else {
return input;
}
return input;
}
namespace JMath {