[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [x3d-public] RE: [www-vrml] Walking Kamala
Thanks guys.
I've leafing through Kimball's tutorials this afternoon and noted that.
I'll rewrite to use it.
Dang. It's too easy to run into the proprietary extensions, use them and
forget they are.
len
From: owner-www-vrml@web3d.org [mailto:owner-www-vrml@web3d.org] On Behalf
Of Alan Hudson
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