mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Merge pull request #1453 from acemod/abExtensionFixes2
Ab extension fixes2
This commit is contained in:
commit
807a155c1f
Binary file not shown.
@ -577,7 +577,7 @@ void __stdcall RVExtension(char *output, int outputSize, const char *function)
|
||||
positionOffset[0] += sin(bulletDir + M_PI / 2) * spinDriftPartial;
|
||||
positionOffset[1] += cos(bulletDir + M_PI / 2) * spinDriftPartial;
|
||||
|
||||
float speedOfSound = 331.3 + (0.6 * temperature);
|
||||
double speedOfSound = 331.3 + (0.6 * temperature);
|
||||
if (bulletSpeed < (speedOfSound + 5) && bulletSpeedAvg > speedOfSound && bulletSpeed > (speedOfSound - 5)) {
|
||||
std::uniform_real_distribution<double> distribution(0.0, 1.0);
|
||||
double coef = 1.0f - bulletDatabase[index].transonicStabilityCoef;
|
||||
|
Loading…
Reference in New Issue
Block a user