Hi,
Thanks for the info. Does this mean that usage of typecasting BoundingBox/BoundingSphere
on J3D 1.1.3 was not leading to correct results or is it just a typecast
error?
Raghav
Paul Byrne wrote:
[EMAIL PROTECTED]">
Raghav,But what you can do is BoundingSphere newBounds; if (bounds instan
lt;[EMAIL PROTECTED]>
>Subject: Re: [JAVA3D] ClassCastException for BoundingBox
>To: [EMAIL PROTECTED]
>MIME-version: 1.0
>Content-transfer-encoding: 7BIT
>Content-MD5: /+hmu21H3qyrpYk2Tr/wBg==
>Delivered-to: [EMAIL PROTECTED]
>Comments: To: [EMAIL PROTECTED]
>
>Raghav,
>
a R <[EMAIL PROTECTED]>
> Subject: [JAVA3D] ClassCastException for BoundingBox
> To: [EMAIL PROTECTED]
> MIME-version: 1.0
> Content-transfer-encoding: 7bit
> X-Accept-Language: en-us
> Delivered-to: [EMAIL PROTECTED]
> User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; r
Hi,
I am getting a java.lang.ClassCastException when i do the following
using J3D 1.3. Previously, i was using J3D 1.1.3 without any such
exceptions. Is it not possible to typecast BoundingSphere / BoundingBox?
BoundingBox bounds = new BoundingBox(pt1, pt2) ;
BranchGroup bgroup ;
bgroup.setBoun