C# Class WaveEngine.Components.Primitives.Sphere

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

Public Methods

Method Description
Sphere ( float diameter, int tessellation ) : System

Initializes a new instance of the Sphere class.

Method Details

Sphere() public method

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