You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).