-
|
Hi, i create a button and assign a function which is get the current camera orbit and another button to set the camera orbit with the data i get in the previous button. However, the position and and the zoom level not that accurate, is anything i missed in my code? I using angular app to develop, and the getview() is the function to get the current camera orbit. changeview() is the function to set the cam toward the view. Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
Looks good - probably just an conversion error somewhere. I'd recommend simplifying your code by using our |
Beta Was this translation helpful? Give feedback.
ah, thank you - apparently we forgot to add a
toString()specialization to fieldOfView - should be an easy fix. For now, just use${fov}degand it should work.