My sentiments exactly.

-----Original Message-----
From: John Owen [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 22, 2001 10:30 AM
To: [EMAIL PROTECTED]
Subject: Re: [JAVA3D] Transform3D.lookAt function


I find the whole Vector3f vs Point3f thing very painful. It has caused me
numerous problems. I hate the whole tuple hierarchy.

There has only been one case so far where I want to treat a vector different
than a point, when I transform it. It would be far more convenient to have
two methods on Transform3D, transformVector() and transformPoint() rather
than to have two separate classes. This is the only 3d library I have worked
with where point and vector were two separate objects, and I don't much care
for it.

IMO it is OO taken to far.

- John


----- Original Message -----
From: "J. Lee Dixon" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 22, 2001 9:19 AM
Subject: [JAVA3D] Transform3D.lookAt function


> I am trying to use the Transform3D lookAt() function, which looks like:
> lookAt(Point3d eye, Point3d center, Vector3d up)
>
> Well, the eye location and center location are in two other Transform3D
> objects, but the only way to "get()" the translation is by using
> Vector3d(3f) objects.  So now I have to have the Vector3d and the
> Point3d of the translation.  What a waste.
>
> Why doesn't the "get" function for translation take a Tuple3d?  Or, why
> doesn't the lookAt function take Tuple3d for eye and center??
>
> I would suggest changing the lookAt function.  Current users of the
> function would only need a recompile since Point3d is derived from
> Tuple3d.  I would also suggest changing the "get" function to take Tuple
> as well.
>
> -Lee
>
> J. Lee Dixon
> SAIC - Celebration, FL
> 407-566-1438
> [EMAIL PROTECTED]    AOL: LeeOrlando
>
>
===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff JAVA3D-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to