func_8024E030() done
This commit is contained in:
parent
51ae567404
commit
e932c098fb
|
@ -1,4 +1,4 @@
|
|||
# banjo (94.5100%)
|
||||
# banjo (94.5451%)
|
||||
|
||||
<img src="./progress/progress_total.svg">
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
</mask>
|
||||
<g mask="url(#anybadge_1)">
|
||||
<path fill="#555" d="M0 0h44v20H0z"/>
|
||||
<path fill="#2ee000" d="M44 0h67v20H44z"/>
|
||||
<path fill="#2de000" 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">89.6609%</text>
|
||||
<text x="77.5" y="14">89.6609%</text>
|
||||
<text x="78.5" y="15" fill="#010101" fill-opacity=".3">89.9026%</text>
|
||||
<text x="77.5" y="14">89.9026%</text>
|
||||
</g>
|
||||
</svg>
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
|
@ -9,7 +9,7 @@
|
|||
</mask>
|
||||
<g mask="url(#anybadge_1)">
|
||||
<path fill="#555" d="M0 0h150v20H0z"/>
|
||||
<path fill="#19e000" d="M150 0h67v20H150z"/>
|
||||
<path fill="#18e000" d="M150 0h67v20H150z"/>
|
||||
<path fill="url(#b)" d="M0 0h217v20H0z"/>
|
||||
</g>
|
||||
<g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11">
|
||||
|
@ -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">94.5100%</text>
|
||||
<text x="183.5" y="14">94.5100%</text>
|
||||
<text x="184.5" y="15" fill="#010101" fill-opacity=".3">94.5451%</text>
|
||||
<text x="183.5" y="14">94.5451%</text>
|
||||
</g>
|
||||
</svg>
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
|
@ -409,42 +409,33 @@ f32 func_8024DDD8(s32 arg0, f32 arg1){
|
|||
|
||||
#pragma GLOBAL_ASM("asm/nonmatchings/core1/code_EAF0/func_8024DE1C.s")
|
||||
|
||||
|
||||
#ifndef NONMATCHING
|
||||
#pragma GLOBAL_ASM("asm/nonmatchings/core1/code_EAF0/func_8024E030.s")
|
||||
#else
|
||||
bool func_8024E030(f32 arg0[3], f32 *arg1) {
|
||||
bool func_8024E030(f32 arg0[3], f32 *arg1)
|
||||
{
|
||||
f32 sp34[3];
|
||||
f32 sp28;
|
||||
f32 sp24;
|
||||
f32 temp_f0;
|
||||
f32 temp_f12;
|
||||
f32 temp_f12_2;
|
||||
f32 temp_f16;
|
||||
f32 temp_f2;
|
||||
f32 temp_f2_2;
|
||||
|
||||
sp28 = (D_80275D20 * M_PI) / 360.0;
|
||||
f32 temp_f2;
|
||||
f32 sp28;
|
||||
sp28 = (D_80275D20 * 3.14159265358979323846) / 360.0;
|
||||
sp34[0] = arg0[0] - D_80280EB0[0];
|
||||
sp34[1] = arg0[1] - D_80280EB0[1];
|
||||
sp34[2] = arg0[2] - D_80280EB0[2];
|
||||
ml_vec3f_yaw_rotate_copy(sp34, sp34, -D_80280EC0[1]);
|
||||
ml_vec3f_pitch_rotate_copy(&sp34, &sp34, -D_80280EC0[0]);
|
||||
if (-D_80275D28 <= sp34[2]) {
|
||||
return FALSE;
|
||||
}
|
||||
temp_f2 = gu_sqrtf((sp34[1] * sp34[1]) + (sp34[2] * sp34[2]))*sinf(sp28);
|
||||
arg1[0] = (f32) ((1 + (sp34[0] / (((f32)D_80276588 / (f32) D_8027658C) * temp_f2))) * ((f32)D_80276588 / 2));
|
||||
arg1[1] = (f32) ((1 - (sp34[1] / temp_f2)) * ((f32) D_8027658C / 2));
|
||||
if ((arg1[0] < -(f32)D_80276588) || (((f32)D_80276588 * 2) < arg1[0])) {
|
||||
ml_vec3f_pitch_rotate_copy(sp34, sp34, -D_80280EC0[0]);
|
||||
if ((-D_80275D28) <= sp34[2]) {
|
||||
return 0;
|
||||
}
|
||||
if ((arg1[1] < -(f32)D_8027658C) || (((f32)D_8027658C * 2) < arg1[1])) {
|
||||
temp_f2 = gu_sqrtf((sp34[1] * sp34[1]) + (sp34[2] * sp34[2])) * sinf(sp28);
|
||||
temp_f2_2 = (((f32) D_80276588) / ((f32) D_8027658C)) * temp_f2;
|
||||
arg1[0] = (f32) (((sp34[0] / temp_f2_2) + 1) * (((f32) D_80276588) / 2));
|
||||
arg1[1] = (f32) ((1 - (sp34[1] / temp_f2)) * (((f32) D_8027658C) / 2));
|
||||
if ((arg1[0] < (-((f32) D_80276588))) || ((((f32) D_80276588) * 2) < arg1[0])) {
|
||||
return 0;
|
||||
}
|
||||
if ((arg1[1] < (-((f32) D_8027658C))) || ((((f32) D_8027658C) * 2) < arg1[1])) {
|
||||
return 0;
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
#endif
|
||||
|
||||
void func_8024E258(void){
|
||||
s32 i, j;
|
||||
|
|
Loading…
Reference in New Issue