Drawing 2D Primitives with XNA

Posted August 17th, 2009 in XNA by Karn Bianco

As described on MSDN, drawing lines and other 3D Primitives with XNA involves defining vertices in world space, setting up an Effect, applying view and projection transformations, and finally making a call to the graphics card with a DrawUserPrimitives (or similar) call.

Continue Reading »