Evaluates the rotation required to transform a directional light
or spot ling, which in iiif 3D spec
have an initial direction in the -Y direction, to a direction
along the input argument
TODO : expand on this documentation taking into account the
implied specification that RotateTransform instances
are to be interpreted as an Euler angle definition of
the rotation
Parameters
direction: Vector3
A vector interpreted as a direction. Client code
responsible for not passing a 0-length vector, else a
Evaluates the rotation required to transform a directional light or spot ling, which in iiif 3D spec have an initial direction in the -Y direction, to a direction along the input argument
TODO : expand on this documentation taking into account the implied specification that RotateTransform instances are to be interpreted as an Euler angle definition of the rotation