mirror of
https://github.com/zeldaret/tp
synced 2026-05-23 15:01:53 -04:00
b728ec1ef5
* J3DUClipper sinit * sincosTable_ etc * decompile JMATrigonometric sinit * f_op_actor_mng * move f_op_actor_mng and parts of mDo_ext * J3DSys sinit * f_op_scene_req * failed matching attempt for decodeSZS__9JKRDecompFPUcPUcUlUl * mX -> x * fix mCull and fopAcM_prm_class members * fix a few function parameters * move missing NON_MATCHING * remove some unneeded data * turns out that data was not unused * remove unused asm * readd asm deleted by accident
44 lines
1.1 KiB
C++
44 lines
1.1 KiB
C++
//
|
|
// Generated By: dol2asm
|
|
// Translation Unit: c_sxyz
|
|
//
|
|
|
|
#include "SSystem/SComponent/c_sxyz.h"
|
|
#include "dol2asm.h"
|
|
#include "dolphin/types.h"
|
|
|
|
//
|
|
// Declarations:
|
|
//
|
|
|
|
const csXyz csXyz::Zero = csXyz(0, 0, 0);
|
|
|
|
/* 802673F4-80267404 0010+00 s=4 e=19 z=119 None .text __ct__5csXyzFsss */
|
|
csXyz::csXyz(s16 param_0, s16 param_1, s16 param_2) {
|
|
x = param_0;
|
|
y = param_1;
|
|
z = param_2;
|
|
}
|
|
|
|
/* 80267404-8026745C 0058+00 s=0 e=0 z=3 None .text __pl__5csXyzFR5csXyz */
|
|
csXyz csXyz::operator+(csXyz& param_0) {
|
|
return csXyz(x + param_0.x, y + param_0.y, z + param_0.z);
|
|
}
|
|
|
|
/* 8026745C-80267490 0034+00 s=0 e=2 z=11 None .text __apl__5csXyzFR5csXyz */
|
|
void csXyz::operator+=(csXyz& param_0) {
|
|
x += param_0.x;
|
|
y += param_0.y;
|
|
z += param_0.z;
|
|
}
|
|
|
|
/* 80267490-802674E8 0058+00 s=0 e=0 z=1 None .text __mi__5csXyzFR5csXyz */
|
|
csXyz csXyz::operator-(csXyz& param_0) {
|
|
return csXyz(x - param_0.x, y - param_0.y, z - param_0.z);
|
|
}
|
|
|
|
/* 802674E8-8026758C 00A4+00 s=0 e=0 z=1 None .text __ml__5csXyzFf */
|
|
csXyz csXyz::operator*(f32 param_0) {
|
|
return csXyz(x * param_0, y * param_0, z * param_0);
|
|
}
|