[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [x3d-public] RE: [www-vrml] Walking Kamala
Are you sure the Date object is required? Whoop I guess we should implement
that already! Really handy stuff.
> -----Original Message-----
> From: owner-x3d-public@web3d.org [mailto:owner-x3d-public@web3d.org] On
> Behalf Of Alan Hudson
> Sent: Saturday, December 23, 2006 2:03 PM
> To: Russ Kinter
> Cc: 'Len Bullard'; 'www-vrml'; 'X3D Graphics public mailing list'
> Subject: Re: [x3d-public] RE: [www-vrml] Walking Kamala
>
> Russ Kinter wrote:
> >
> > Browser.getTime() is Contact proprietory call as I remember.
> > Contact doesn't have js Date Object. (again, as I remember)
> >
> ok.
>
> I just checked our reference for X3D and it references the ECMA-262
> spec. And it requires a Date object. So for X3D implementations we
> have a solid route for this needed function.
>
> Len, the other route you have is that each function of ecmascript has a
> second parameter which is the event time.
>
> function start(val, timestamp) {
> startTime = timestamp;
> endTime = timestamp + 2;
> }
>
> Will start something this frame
>
> --
> Alan Hudson
>
> President Yumetech, Inc. www.yumetech.com
> President Web3D Consortium www.web3d.org
> 206 340 8900
> -------------------------------------------------------------------------
> for list subscription/unsubscription,
> go to http://www.web3d.org/cgi-
> bin/public_list_signup/lwgate/listsavail.html
>
-------------------------------------------------------------------------
for list subscription/unsubscription,
go to http://www.web3d.org/cgi-bin/public_list_signup/lwgate/listsavail.html