We can spice up the model a little bit by creating a rotating prism, instead of the rotating triangle. The
MovingPrismApplication project is located under the
SAMPLES\CODE\ MovingPrismApplication folder.
MovingPrismApplication, do not forget to set the driver permissions for that application, just as you did for
The following is a screenshot of the moving prism:
The only differences from the
MovingTriangle project are the following:
// the 4th vertext to create the prism Vector3 zVertex = new Vector3(0, ...