mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-04 23:14:37 +00:00
En_Ba OK (#700)
* init done * Everything done except for draw * matching * Tidied for pr * merge master into en_ba * run format.sh * fixing merge mistakes * how many different ways can I screw up a merge challenge * some pr comments
This commit is contained in:
parent
2c56a6e99a
commit
56e94e1e34
26 changed files with 516 additions and 2145 deletions
|
@ -4079,13 +4079,13 @@ void func_8003573C(Actor* actor, ColliderJntSph* jntSph, s32 freezeFlag) {
|
|||
}
|
||||
}
|
||||
|
||||
void func_80035844(Vec3f* arg0, Vec3f* arg1, s16* arg2, s32 arg3) {
|
||||
void func_80035844(Vec3f* arg0, Vec3f* arg1, Vec3s* arg2, s32 arg3) {
|
||||
f32 dx = arg1->x - arg0->x;
|
||||
f32 dz = arg1->z - arg0->z;
|
||||
f32 dy = arg3 ? (arg1->y - arg0->y) : (arg0->y - arg1->y);
|
||||
|
||||
arg2[1] = Math_Atan2S(dz, dx);
|
||||
arg2[0] = Math_Atan2S(sqrtf(SQ(dx) + SQ(dz)), dy);
|
||||
arg2->y = Math_Atan2S(dz, dx);
|
||||
arg2->x = Math_Atan2S(sqrtf(SQ(dx) + SQ(dz)), dy);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue