Fix typo in CalcYBeam.
This commit is contained in:
parent
82a2da541e
commit
d3251897db
2 changed files with 3 additions and 3 deletions
|
|
@ -1483,7 +1483,7 @@ Class SWWMUtility
|
|||
dir *= level.pixelstretch;
|
||||
double len = dir.length();
|
||||
dir /= len;
|
||||
double angle = atan2(dir.y,dir.z);
|
||||
double angle = atan2(dir.y,dir.x);
|
||||
double pitch = asin(-dir.z)+90;
|
||||
double yscale = dist*len;
|
||||
return angle, pitch, yscale;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue