core1/code_7F60.c progress

This commit is contained in:
Banjo Kazooie
2022-10-15 19:13:06 -05:00
parent b926f7317d
commit bbadd23eef
4 changed files with 33 additions and 7 deletions

View File

@@ -1,4 +1,4 @@
# banjo (90.7792%)
# banjo (90.8038%)
<img src="./progress/progress_total.svg">

View File

@@ -9,7 +9,7 @@
</mask>
<g mask="url(#anybadge_1)">
<path fill="#555" d="M0 0h44v20H0z"/>
<path fill="#4fe000" d="M44 0h67v20H44z"/>
<path fill="#4ee000" d="M44 0h67v20H44z"/>
<path fill="url(#b)" d="M0 0h111v20H0z"/>
</g>
<g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11">
@@ -17,7 +17,7 @@
<text x="22.0" y="14">core1</text>
</g>
<g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11">
<text x="78.5" y="15" fill="#010101" fill-opacity=".3">82.3611%</text>
<text x="77.5" y="14">82.3611%</text>
<text x="78.5" y="15" fill="#010101" fill-opacity=".3">82.5310%</text>
<text x="77.5" y="14">82.5310%</text>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@@ -17,7 +17,7 @@
<text x="75.0" y="14">Banjo-Kazooie (us.v10)</text>
</g>
<g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11">
<text x="184.5" y="15" fill="#010101" fill-opacity=".3">90.7792%</text>
<text x="183.5" y="14">90.7792%</text>
<text x="184.5" y="15" fill="#010101" fill-opacity=".3">90.8038%</text>
<text x="183.5" y="14">90.8038%</text>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -123,7 +123,33 @@ void func_80245F34(f32 *arg0, f32 *arg1, f32 *arg2) {
#pragma GLOBAL_ASM("asm/nonmatchings/core1/code_7F60/guPerspective.s")
#pragma GLOBAL_ASM("asm/nonmatchings/core1/code_7F60/func_8024632C.s")
void func_8024632C(f32 mf[4][4], f32 arg1, f32 arg2, f32 arg3, f32 arg4) {
f32 sp34;
f32 sp30;
f32 sp2C;
f32 sp28;
volatile f32 sp24;
func_80245F34(&arg2, &arg3, &arg4);
arg1 *= D_80275908;
sp34 = sinf(arg1);
sp30 = cosf(arg1);
sp2C = arg2 * arg3 * (1.0f - sp30);
sp28 = arg3 * arg4 * (1.0f - sp30);
sp24 = (arg4 * arg2 * (1.0f - sp30));
_guMtxIdentF_80245D44(mf);
mf[0][0] = ((1.0f - (arg2 * arg2)) * sp30) + (arg2 * arg2);
mf[2][1] = (sp28 - (arg2 * sp34));
mf[1][2] = ((arg2 * sp34) + sp28);
mf[1][1] = (((1.0f - (arg3 * arg3)) * sp30) + (arg3 * arg3));
mf[2][0] = ((arg3 * sp34) + sp24);
mf[0][2] = (sp24 - (arg3 * sp34));
mf[2][2] = (((1.0f - (arg4 * arg4)) * sp30) + (arg4 * arg4));
mf[1][0] = (sp2C - (arg4 * sp34));
mf[0][1] = (arg4 * sp34) + sp2C;
}
void func_802464B0(f32 mf[4][4], f32 arg1){
f32 c, s;