PROTECTED]]
On Behalf Of Thomas Gilbert Giusepe
Sent: 20 November 2001 10:59
To: [EMAIL PROTECTED]
Subject: [JAVA3D] how to sum Point3d
Hi there,
I need to get the sum of coordinates from two vertex at the same point3d.
Something like that:
Point3d sumP3D1=new Point3d(0.0,0.0,15.0);
Po
From: "Thomas Gilbert Giusepe" <[EMAIL PROTECTED]>
Sent: Tuesday, November 20, 2001 5:58 AM
> Hi there,
>
> I need to get the sum of coordinates from two vertex at the
same point3d.
> Something like that:
>
> Point3d sumP3D1=new Point3d(0.0,0.0,15.0);
> Point3d valueP3D2=new Point3d(0.0,0.0,20.0
Hi Thomas
> Point3d sumP3D1=new Point3d(0.0,0.0,15.0);
> Point3d valueP3D2=new Point3d(0.0,0.0,20.0);
> // Sum two point3d:
> sumP3D1=sumP3D1+valueP3D2;
sumP3D1.x += valueP3D2.x;
sumP3D1.y += valueP3D2.y;
sumP3D1.z += valueP3D2.z
EOF,
J.D.
--
Jmark2k+1 (http://www.antiflash.net/jmark)
Test t
Hi there,
I need to get the sum of coordinates from two vertex at the same point3d.
Something like that:
Point3d sumP3D1=new Point3d(0.0,0.0,15.0);
Point3d valueP3D2=new Point3d(0.0,0.0,20.0);
// Sum two point3d:
sumP3D1=sumP3D1+valueP3D2;
So in order to have at the end the values (0.0,0.0,35.0