C# 클래스 WaveEngine.Components.Primitives.Cone

A 3D cone.
상속: Geometric
파일 보기 프로젝트 열기: WaveEngine/Components

공개 메소드들

메소드 설명
Cone ( float height, float diameter, int tessellation ) : System

Initializes a new instance of the Cone class.

비공개 메소드들

메소드 설명
CreateCap ( int tessellation, float height, float radius, System.Vector3 normal ) : void

Helper method creates a triangle fan to close the ends of the cylinder.

메소드 상세

Cone() 공개 메소드

Initializes a new instance of the Cone class.
If tessellation is less than 3.
public Cone ( float height, float diameter, int tessellation ) : System
height float The height.
diameter float The diameter.
tessellation int The tessellation.
리턴 System