mirror of
https://github.com/zeldaret/tww.git
synced 2026-09-07 02:59:59 -04:00
jstudio-math OK
This commit is contained in:
+1
-1
@@ -601,7 +601,7 @@ config.libs = [
|
||||
[
|
||||
Object(NonMatching, "JSystem/JStudio/JStudio/jstudio-control.cpp"),
|
||||
Object(NonMatching, "JSystem/JStudio/JStudio/jstudio-data.cpp"),
|
||||
Object(NonMatching, "JSystem/JStudio/JStudio/jstudio-math.cpp"),
|
||||
Object(Matching, "JSystem/JStudio/JStudio/jstudio-math.cpp"),
|
||||
Object(NonMatching, "JSystem/JStudio/JStudio/jstudio-object.cpp"),
|
||||
Object(NonMatching, "JSystem/JStudio/JStudio/functionvalue.cpp"),
|
||||
Object(NonMatching, "JSystem/JStudio/JStudio/fvb.cpp"),
|
||||
|
||||
@@ -11,13 +11,12 @@ namespace math {
|
||||
|
||||
/* 8026E610-8026E778 .text getRotation_xyz__Q27JStudio4mathFPA4_ffff */
|
||||
void getRotation_xyz(MtxP param_1, f32 x, f32 y, f32 z) {
|
||||
/* Nonmatching - regalloc */
|
||||
f32 cosx = cos(DEG_TO_RAD(x));
|
||||
f32 sinx = sin(DEG_TO_RAD(x));
|
||||
f32 cosy = cos(DEG_TO_RAD(y));
|
||||
f32 siny = sin(DEG_TO_RAD(y));
|
||||
f32 cosz = cos(DEG_TO_RAD(z));
|
||||
f32 sinz = sin(DEG_TO_RAD(z));
|
||||
f32 cosx = i_cosf(DEG_TO_RAD(x));
|
||||
f32 sinx = i_sinf(DEG_TO_RAD(x));
|
||||
f32 cosy = i_cosf(DEG_TO_RAD(y));
|
||||
f32 siny = i_sinf(DEG_TO_RAD(y));
|
||||
f32 cosz = i_cosf(DEG_TO_RAD(z));
|
||||
f32 sinz = i_sinf(DEG_TO_RAD(z));
|
||||
f32 cosxcosz = cosx * cosz;
|
||||
f32 cosxsinz = cosx * sinz;
|
||||
f32 sinxcosz = sinx * cosz;
|
||||
|
||||
Reference in New Issue
Block a user