Fixed an "==" vs. "=" typo.
This commit is contained in:
parent
eea531fbf5
commit
130902f788
1 changed files with 1 additions and 1 deletions
|
@ -576,7 +576,7 @@ void HeadingPitchRadiusFromVec3 ( sgVec3 hpr, sgVec3 vec3 )
|
||||||
hpr[2] = 0;
|
hpr[2] = 0;
|
||||||
} else {
|
} else {
|
||||||
if (fabs(y) < 0.001f)
|
if (fabs(y) < 0.001f)
|
||||||
y == 0.001f;
|
y = 0.001f;
|
||||||
|
|
||||||
Zx = sqrt(y*y + z*z);
|
Zx = sqrt(y*y + z*z);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue