compas-dev / compas_view2

Standalone viewer for COMPAS
https://compas.dev/compas_view2/
MIT License
6 stars 8 forks source link

Vertical lookat vector fails #209

Closed tomvanmele closed 8 months ago

tomvanmele commented 8 months ago

Describe the bug

If the lookat vector is vertical, the viewer failts.

To Reproduce

Steps to reproduce the behavior:

viewer = App()
viewer.view.camera.position = [0, 0, 10]
viewer.view.camera.look_at([0, 0, 0])
viewer.run()

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots

If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context

Add any other context about the problem here.

Licini commented 8 months ago

@tomvanmele Fixed now.