Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing dimension from 3D to 2D do not retain the camera parameters passed in the constructor #74

Open
murtazaqa opened this issue Jun 17, 2021 · 1 comment

Comments

@murtazaqa
Copy link

Hi,

When I change the dimension from 3D to 2D and vice versa using the setDimensions(nDimensions: number) method, the original camera parameters (camera position & camera zoom)which were passed in the constructor are not retained, they are overridden with the default camera parameters.

I think these parameters should be passed when calling the makeCamera() method.

Thank you.

@yusuf-multhan
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants