C# Class WaveEngine.Components.Primitives.Torus

A 3D torus.
Inheritance: Geometric
显示文件 Open project: WaveEngine/Components

Public Methods

Method Description
Torus ( float diameter, float thickness, int tessellation ) : System

Initializes a new instance of the Torus class.

Method Details

Torus() public method

Initializes a new instance of the Torus class.
If tessellation is less than 3.
public Torus ( float diameter, float thickness, int tessellation ) : System
diameter float The diameter.
thickness float The thickness.
tessellation int The tessellation.
return System