[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [x3d-public] Checking node type



I meant the spec should do this, not your browser


----------------
George Birbilis (birbilis@kagi.com)
Microsoft MVP J# for 2004-2006
* QuickTime, QTVR, ActiveX, VCL, .NET
http://www.kagi.com/birbilis
* Robotics PhD student
http://www.mech.upatras.gr/~Robotics
http://www.mech.upatras.gr/~robgroup


-----Original Message-----
From: Alan Hudson [mailto:giles@yumetech.com]
Sent: Friday, March 03, 2006 5:50 PM
To: George Birbilis
Cc: 'George Anastassakis'; x3d-public@web3d.org
Subject: Re: [x3d-public] Checking node type

George Birbilis wrote:
> Btw, why are all objects the same class? There should many classes all
> descending from the same class. When you have
>
> SomeClass x;
> x=new SomeClassDescendent();
>
This isn't required by the X3D spec.  It's much easier to implement 1
wrapper then hundreds of concrete classes.

The instanceof checks would always be browser specific which we want to
avoid.  SAI code should be portable between browsers.  There are some
concrete interfaces on the higher levels of SAI but we haven't implemented
them yet.



--
Alan Hudson

President Yumetech, Inc.                               www.yumetech.com
President Web3D Consortium                             www.web3d.org
206 340 8900




  _____  

avast! Antivirus <http://www.avast.com> : Outbound message clean. 


Virus Database (VPS): 0609-3, 03/03/2006
Tested on: 4/3/2006 6:41:11 ??
avast! - copyright (c) 1988-2005 ALWIL Software.



-------------------------------------------------------------------------
for list subscription/unsubscription,
go to http://www.web3d.org/cgi-bin/public_list_signup/lwgate/listsavail.html