Description:
This sample shows how to extend the Spacewar VectorShape code to create PrimitiveBatch, which can be used to easily draw points, lines, and triangles on the screen.
Sample Overview
The Spacewar starter kit includes a "retro mode," which does all of its drawing with points and lines. This sample shows how you can extend the Spacewar VectorShape code to create PrimitiveBatch, which can be used to easily draw points, lines, and triangles on the screen. This functionality can be useful, not only for drawing your game, but also for debugging.