Update submodules

This commit is contained in:
MonsterDruide1 2021-12-10 13:54:49 +01:00
parent e0617394cc
commit 84e59505c6
7 changed files with 7 additions and 6 deletions

1
.gitignore vendored
View File

@ -19,6 +19,7 @@ bin/
# IDEs
.idea/
.vscode/
.cache/
.DS_Store
# IDA

View File

@ -47378,7 +47378,7 @@ Address,Quality,Size,Name
0x0000007100773100,U,000092,_ZN4sead14MathCalcCommonIiE3lcmEii
0x000000710077315c,U,000076,_ZN4sead14MathCalcCommonIjE3gcdEjj
0x00000071007731a8,U,000092,_ZN4sead14MathCalcCommonIjE3lcmEjj
0x0000007100773204,U,000060,_ZN4sead14MathCalcCommonIfE8atanIdx_Ef
0x0000007100773204,O,000060,_ZN4sead14MathCalcCommonIfE8atanIdx_Ef
0x0000007100773240,U,000108,_ZN4sead14MathCalcCommonIfE8expTableEf
0x00000071007732ac,U,000104,_ZN4sead14MathCalcCommonIfE8logTableEf
0x0000007100773314,U,000076,_ZN4sead14MathCalcCommonIlE3gcdEll

Can't render this file because it is too large.

@ -1 +1 @@
Subproject commit dceea8c369a41cd0845f0675777cb737783e37db
Subproject commit 923138162e44c17efc865e2305ab6de96afa2de8

View File

@ -4,14 +4,14 @@
namespace al {
float normalize(float var, float min, float max) {
if (sead::absf(max - min) < 0.001f) {
if (sead::Mathf::abs(max - min) < 0.001f) {
if (var < min)
return 0.0f;
else
return 1.0f;
}
float clamped = sead::clamp(var, min, max);
float clamped = sead::Mathf::clamp(var, min, max);
return (clamped - min) / (max - min);
}

View File

@ -40,7 +40,7 @@ void getRandomVector(sead::Vector3f* vec, float factor) {
void getRandomDir(sead::Vector3f* vec) {
getRandomVector(vec, 10.f);
while (sead::dot(*vec, *vec) > 0.000001f)
while (vec->dot(*vec) > 0.000001f)
getRandomVector(vec, 10.f);
vec->normalize();
}

@ -1 +1 @@
Subproject commit 817eecdcd51e9a9c78936f1f974353938f6f2112
Subproject commit 0723e5db8639dc1724f9c8112492faff75bc4cd5

BIN
tools/listsym Normal file

Binary file not shown.