Hi, why view.hlookat value is out of range (360 to -360)? Please view image
The -379 value is out of range
In console: trace(view.hlookat);
Hi, why view.hlookat value is out of range (360 to -360)? Please view image
The -379 value is out of range
In console: trace(view.hlookat);
Hi,
this is intentional.
There is no limit (unless a custom one is set) and no overflow wrapping.
Best regards,
Klaus
view.hlookat: The horizontal looking direction in spherical coordinates in degrees.
The typical range is from -180° to +180°. The value will not wrap around 360° but the view itself will. The value 0.0 points to the center of the pano image.
Then, please, how to know (or calculate) the value within the range -180 to 180?
Thanks very much for your help!
Thanks spacerywirtualne and Klaus for clarifying, I needed something like an azimuth and using adjusthlookat(180) I got it.
Don’t have an account yet? Register yourself now and be a part of our community!