[x3d-public] remove SF/MFInt32 ?

Andreas Plesch andreasplesch at gmail.com
Fri Apr 6 08:22:27 PDT 2018


Here is a somewhat radical idea to simplify X3D a bit. Since x3dom is
javascript it does not really distinguish between SFInt32 and SFFloat, and
lives pretty well with it. So why not consider completely removing the
SF/MFInt32 from the spec. in general ?

The integer fields are used in not very many nodes: Switch,
IntegerSequencer, LOD (level_changed) come to mind. A replacement with
SFFloat would mean adding rounding or truncation to nearest integer in the
spec. language but probably not more than that.

The advantages are that it is an opportunity to make the spec. leaner, and
help with some node communication issues.

The disadvantages are that it would be a backwards incompatible change, and
may have a minor performance impact.

-Andreas

-- 
Andreas Plesch
Waltham, MA 02453
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20180406/731920e0/attachment.html>


More information about the x3d-public mailing list