PDA

View Full Version : restore original position



02-06-2004, 02:00 PM
Hi:

Say I have an object that can be rotated, translated, zoomed, etc., but I want the user to be able to restore the original position of the object.

What is the best technique for saving the original position and restoring it?

Thank you

nexusone
02-06-2004, 02:16 PM
You can store it in a variable.
Or store the matrix of its original position.



Originally posted by brdudley:
Hi:

Say I have an object that can be rotated, translated, zoomed, etc., but I want the user to be able to restore the original position of the object.

What is the best technique for saving the original position and restoring it?

Thank you