IIIF-Commons / manifesto-3d

IIIF Presentation API client and server utility library.
https://iiif-commons.github.io/manifesto-3d/
MIT License
0 stars 0 forks source link

Camera.LookAt property throws exception #18

Closed vincentmarchetti closed 4 days ago

vincentmarchetti commented 4 weeks ago

At commit f46cfcd (NPM relase 0.5.3)

Calling the Camera LookAt accessor https://iiif-commons.github.io/manifesto-3d/classes/Camera.html#LookAt raises an exception in a Camera instance which has its orientation defined by SpecificResource containing RotateTransforms. An example will be prepared in the context of a unit test based on reading a sample manifest.

vincentmarchetti commented 4 weeks ago

Branch fix-null-lookat will be devoted to fixing this.

At commit 131acd0 a unit test has been added that demonstrates the faulty behavior. This test now fail with a thrown exception