1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-07-12 19:04:38 +00:00

Math Files (#76)

* math3d wip

* math3d wip

* wip

* wip

* wip

* wip

* final update before pr

* run format.sh

* fix merge conflicts

* tharo suggestions update

* fig formatting suggestion

* math3d pr updates

* use sFactorialTbl in sys_math
This commit is contained in:
krimtonz 2020-04-18 22:28:24 -05:00 committed by GitHub
parent eefbe9afe1
commit ee48867446
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
75 changed files with 6763 additions and 10904 deletions

View file

@ -1128,7 +1128,7 @@ void Gameplay_Draw(GlobalContext* globalCtx) {
view.flags = 2 | 8;
// clang-format off
viewport.bottomY = SCREEN_HEIGHT; viewport.rightX = SCREEN_WIDTH;
viewport.bottomY = SCREEN_HEIGHT; viewport.rightX = SCREEN_WIDTH;
viewport.topY = 0; viewport.leftX = 0;
// clang-format on
@ -1600,7 +1600,7 @@ s32 func_800C04D8(GlobalContext* globalCtx, s16 camId, Vec3f* arg2, Vec3f* arg3)
if (1) {} // Necessary to match
camera->unk_DC = func_800CB678(arg2, arg3);
camera->unk_DC = Math3D_Vec3f_DistXYZ(arg2, arg3);
player = camera->player;
if (player != NULL) {