Using RotateTransform3D

Topics: Developer Forum
Mar 4, 2008 at 12:22 AM
Greetings all, I'm new here.

Looking at Petzold's AxisRotationExperimenter.xaml in his #D book, I would like to see some sample code implementing this mostly in C#. I'd like to know how to take my 3D rectangle with an image on it and rotate in using something like:

RotateTransform3D myRotateTransform = new RotateTransform3D(new AxisAngleRotation3D(new Vector3D(0, 1, 0), 1));

Thanks, Theron