mirror of
https://github.com/zeldaret/tp
synced 2026-07-11 15:28:38 -04:00
some c_m3d (#97)
* decompiled some bgs_chk funcs * c_m3d_g * c_math progress * remove duplicate SComponent headers * move some variables and decompile a function * some inlined from debug * cM3d_2PlaneLinePosNearPos * fix fabsf and decompile cM3d_CrawVec * format * cleanup * more cleanup Co-authored-by: Pheenoh <pheenoh@gmail.com>
This commit is contained in:
@@ -2,6 +2,9 @@
|
||||
|
||||
#include "SComponent/c_sxyz.h"
|
||||
|
||||
extern u8 lbl_804550A0;
|
||||
extern u8 lbl_80430DA8;
|
||||
|
||||
// __ct__5csXyzFsss
|
||||
csXyz::csXyz(s16 pX, s16 pY, s16 pZ) {
|
||||
mX = pX;
|
||||
@@ -28,11 +31,11 @@ csXyz csXyz::operator-(csXyz& other) {
|
||||
|
||||
// __ml__5csXyzFf
|
||||
#ifdef NON_MATCHING
|
||||
csXyz csXyz::operator*(float pFactor) {
|
||||
csXyz csXyz::operator*(f32 pFactor) {
|
||||
return csXyz(mX * pFactor, mY * pFactor, mZ * pFactor);
|
||||
}
|
||||
#else
|
||||
asm csXyz csXyz::operator*(float) {
|
||||
asm csXyz csXyz::operator*(f32) {
|
||||
nofralloc
|
||||
#include "SComponent/c_sxyz/asm/func_802674E8.s"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user