Skip to content

Primitives3D

Simon (darkside) Jackson edited this page Aug 21, 2020 · 8 revisions

Primitives3D

Area Submitted Type
Games: 3D Graphics, Games: Graphics 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).

Download Size Description
Primitives3DSample_4_0 0.05MB Source code and assets for the Primitives 3D Sample (XNA Game Studio 4.0).
Primitives3DSample_4_0.zip 0.05MB Source code and assets for the Primitives 3D Sample (XNA Game Studio 4.0).
Clone this wiki locally