Hey guys thanks for all who looked into it. its solved already. I will email
u next problem pretty soon.

I wasnt initializing the var properly so nothing to be discussed here

-----Original Message-----
From: Ahmed Shakil [mailto:[EMAIL PROTECTED]]
Sent: Saturday, June 10, 2000 9:25 AM
To: [EMAIL PROTECTED]
Subject: [JAVA3D] Modifying LineArray coordinates at runtime


Hello Guys,

I have a question. I am trying to modify the LineArray Coordinates at
run-time. It draws the new Co-ordinates but leaves the old one also there.
Like its not repainting or something. Anyone? any ideas??

this is the code sample:-

                Point3f p3 = new Point3f;
                LineArray line = (LineArray)m_shape.getGeometry();
                for (int i=1; i<m_counter; i++) {
                        line.setCoordinate( m_nLine++, p3 );
                        m_p3.x += 1;
                        m_p3.y  = m_list[i];
                        line.setCoordinate( m_nLine++, p3 );
                }

Thanks

Ahmed

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