Xbox LIVE Indie Games

code sample details

Primitives3D

Submitted
10/21/2009
Code Sample

Description:

This sample provides easily reusable code for drawing basic geometric primitives.


Sample Overview

These classes are particularly useful when debugging 3D games. For example, you could use them to display your collision bounding boxes or bounding spheres as translucent or wireframe 3D models.

  • Cube
  • Sphere
  • Cylinder
  • Torus
  • Teapot


All content and source code downloaded from this page are bound to the Microsoft Permissive License (Ms-PL).

downloads

Framework

GS 4.0

Framework

GS 3.1

find education content
var gDomain='m.webtrends.com'; var gDcsId='dcschd84w10000w4lw9hcqmsz_8n3x'; var gTrackEvents=1; var gFpc='WT_FPC'; /*<\/scr"+"ipt>");} /*]]>*/
DCSIMG