mirror of
https://github.com/MonsterDruide1/OdysseyDecomp.git
synced 2024-11-23 05:19:52 +00:00
Update submodules
This commit is contained in:
parent
e0617394cc
commit
84e59505c6
1
.gitignore
vendored
1
.gitignore
vendored
@ -19,6 +19,7 @@ bin/
|
||||
# IDEs
|
||||
.idea/
|
||||
.vscode/
|
||||
.cache/
|
||||
.DS_Store
|
||||
|
||||
# IDA
|
||||
|
@ -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.
|
2
lib/sead
2
lib/sead
@ -1 +1 @@
|
||||
Subproject commit dceea8c369a41cd0845f0675777cb737783e37db
|
||||
Subproject commit 923138162e44c17efc865e2305ab6de96afa2de8
|
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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
BIN
tools/listsym
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user