[x3d-public] SFRotation default value spec. inconsistency
Andreas Plesch
andreasplesch at gmail.com
Mon Feb 10 08:31:04 PST 2025
https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/fieldTypes.html#SFRotationAndMFRotation
specifies that (0 0 1 0) is the value of an uninitialized SFRotation given
as (x y z a).
However, the JS SAI spec. in table 7.18 in
https://www.web3d.org/documents/specifications/19777-1/V3.3/Part1/functions.html#SFRotationInstanceCreationFunction
effectively makes (0 1 0 0) the default value if no parameters are provided.
The inconsistency does not have much of an impact since both are 0
rotations but I believe (0 1 0 0) - a 0 rotation around y - may have been
intended as the default.
-Andreas
--
Andreas Plesch
Waltham, MA 02453
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20250210/646e9ffc/attachment.html>
More information about the x3d-public
mailing list