Decompile code_0x800E8EA0.c

This commit is contained in:
rozlette
2019-12-18 01:31:47 -06:00
parent 82ad58e489
commit 962a957166
7 changed files with 141 additions and 102 deletions
+2 -2
View File
@@ -409,13 +409,13 @@ f32 Lib_DistanceYVec3f(Vector3f* a, Vector3f* b) {
return b->y - a->y;
}
s32 Lib_YawVec3f(Vector3f* from, Vector3f* to) {
s16 Lib_YawVec3f(Vector3f* from, Vector3f* to) {
f32 f14 = to->x - from->x;
f32 f12 = to->z - from->z;
return atans_flip(f12, f14);
}
s32 Lib_PitchVec3f(Vector3f* from, Vector3f* to) {
s16 Lib_PitchVec3f(Vector3f* from, Vector3f* to) {
return atans_flip(Lib_DistanceXZVec3f(from, to), from->y - to->y);
}