mirror of
https://github.com/zeldaret/oot
synced 2026-06-06 19:51:35 -04:00
Decompile code_801067F0, 80106860, 801068B0 (#89)
* Decompile code_801067F0, 80106860, 801068B0 * clang format * Remove unnecessary casts
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
#include <ultra64.h>
|
||||
#include <global.h>
|
||||
|
||||
// fmodf? unused
|
||||
f32 func_801067F0(f32 arg0, f32 arg1) {
|
||||
s32 sp4;
|
||||
|
||||
if (arg1 == 0.0f) {
|
||||
return 0.0f;
|
||||
}
|
||||
sp4 = arg0 / arg1;
|
||||
return arg0 - (sp4 * arg1);
|
||||
}
|
||||
Reference in New Issue
Block a user