[x3d-public] where is the constructor for MFVec3f standardized?
John Carlson
yottzumm at gmail.com
Sun Apr 1 02:06:23 PDT 2018
Looks my way is non-standard. It’s basically how I got it to work however.
John
Sent from Mail for Windows 10
From: GPU Group
Sent: Saturday, March 31, 2018 6:26 PM
To: John Carlson
Cc: x3d-public at web3d.org
Subject: Re: [x3d-public] where is the constructor for MFVec3f standardized?
http://www.web3d.org/documents/specifications/19777-1/V3.3/Part1/functions.html#MFVec3f
PS I did get the list parameter working with duktape javascript engine - will take me a few days or weeks to publish the freewrl executable .msi - but basically the list [] is an object and the internal code can use the javscript api to test if its an array type or has length > 1 or some other way to inspect the key,values, and if so and the SAI function parameter list is variable or some other set of conditions, then I can split the list up to use like regular varargs.
C = new MFVec3f(A,B); //the old conventional varargs way
C = new MFVec3f( [A,B] ); //Carlson's new 1 param list way, got working with duktape in freewrl
On Sat, Mar 31, 2018 at 3:00 PM, John Carlson <yottzumm at gmail.com> wrote:
Where is the constructor for MFVec3f standardized?
Thanks,
John
Sent from Mail for Windows 10
_______________________________________________
x3d-public mailing list
x3d-public at web3d.org
http://web3d.org/mailman/listinfo/x3d-public_web3d.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20180401/eef2959d/attachment.html>
More information about the x3d-public
mailing list