I am confused.

You can get and set the tuple.  You want a getX() and a setX()? what is the
difference between that and direct reference?  In any respect, Justin is
right about the need to not create new instances of vecmath stuff all over
the place.  We try to never make new ones unless absolutely necessay.

-----Original Message-----
From: Michael Newcomb [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 15, 2002 10:37 AM
To: [EMAIL PROTECTED]
Subject: Re: [JAVA3D] why aren't javax.vecmath.* classes Java beans?


Point3d p1 = new Point3d();
p1.x = 50;
p1.y = 70;
p1.z = -387.878;

They're not immutable... so why not have getters and setters?

-----Original Message-----
From: Gunnar Sletta [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 15, 2002 10:20 AM
To: [EMAIL PROTECTED]
Subject: Re: [JAVA3D] why aren't javax.vecmath.* classes Java beans?


Probably because of safty. They have to be immutable to garantee safe
execution. The same as strings.



On Fri, 15 Feb 2002, Michael Newcomb wrote:

> Why don't they have getters and setters?
>
> Michael
>
>
===========================================================================
> 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".

===========================================================================
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