mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-31 16:12:50 -04:00
MSL_C fully matched / some SSystem cleanup/ obj_rgate OK (#2011)
* cleanup SSystem files * MSL_C fully matched * fix build * remove asm * reorganize MSL_C/Runtime libs into more accurate setup * little more cleanup * cleanup some MSL headers * obj_rgate OK * remove asm * some rgate documentation
This commit is contained in:
@@ -1,31 +1,15 @@
|
||||
//
|
||||
// Generated By: dol2asm
|
||||
// Translation Unit: c_m2d
|
||||
//
|
||||
/**
|
||||
* c_m2d.cpp
|
||||
*
|
||||
*/
|
||||
|
||||
#include "SSystem/SComponent/c_m2d.h"
|
||||
#include "SSystem/SComponent/c_m3d.h"
|
||||
#include "SSystem/SComponent/c_m3d_g_cir.h"
|
||||
|
||||
//
|
||||
// Types:
|
||||
//
|
||||
|
||||
//
|
||||
// Forward References:
|
||||
//
|
||||
|
||||
//
|
||||
// External References:
|
||||
//
|
||||
|
||||
//
|
||||
// Declarations:
|
||||
//
|
||||
|
||||
/* 80268260-80268560 262BA0 0300+00 0/0 4/4 0/0 .text cM2d_CrossCirLin__FR8cM2dGCirffffPfPf */
|
||||
void cM2d_CrossCirLin(cM2dGCir& param_0, f32 param_1, f32 param_2, f32 param_3, f32 param_4,
|
||||
f32* param_5, f32* param_6) {
|
||||
f32* param_5, f32* param_6) {
|
||||
f32 fVar1 = param_1 - param_0.GetCx();
|
||||
f32 fVar15 = param_2 - param_0.GetCy();
|
||||
f32 dVar13 = param_3 * param_3 + param_4 * param_4;
|
||||
@@ -40,7 +24,7 @@ void cM2d_CrossCirLin(cM2dGCir& param_0, f32 param_1, f32 param_2, f32 param_3,
|
||||
} else {
|
||||
f32 dVar10 = ((dVar14 * dVar14) - (4.0f * dVar13) * fVar3);
|
||||
if (cM3d_IsZero(dVar10)) {
|
||||
in_f31 =(-dVar14 / (2.0f * dVar13));
|
||||
in_f31 = (-dVar14 / (2.0f * dVar13));
|
||||
} else {
|
||||
if (dVar10 < 0.0f) {
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user