[x3d-public] Immutability and the SAI

John Carlson yottzumm at gmail.com
Sat Jul 31 15:11:22 PDT 2021


I am wondering if the goal of immutable instances is desired or even
feasible in X3D.

As a small example, I might want to change the color of something.   A
larger example might be animating a mesh.   I understand that you don’t
want to regenerate the mesh each time you move it, as this would require
twice the memory.   However I can see that changing coordinates or normals
might be desired.

Does immutability really have a place in an animated system?

I remember my first sorting algorithm I ever wrote i used two data
structures, one for initial data, and one for the result.  Seemed
reasonable to me, but my teacher said no.

Thanks!

John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20210731/1b2aecde/attachment.html>


More information about the x3d-public mailing list