Industrial Data Science
in C# and .NET:
Simple. Fast. Reliable.
 
 

ILNumerics - Technical Computing

Modern High Performance Tools for Technical

Computing and Visualization in Industry and Science

A cube made of simple triangles


The Triangles class is used to construct a cube from triangles. Corner positions are defined only once and connected by indices efficiently. The cube is lit and the normals are shared between adjacent edges (hence the light looks a little funky here). A LineStrip object is used to emphasize the edges of the cube.

See also: Visualization documentation online.

Last modified: July 20 2020 14:52

Download ZIP

TOP

All Examples