C# Class WaveEngine.Components.Primitives.Teapot.TeapotPatch

The teapot model consiste of 10 bezier patches. Each path has 16 controls points
ファイルを表示 Open project: WaveEngine/Components

Public Properties

Property Type Description
Indices int[]
MirrorZ bool

Public Methods

Method Description
TeapotPatch ( bool mirrorZ, int indices ) : System

Initializes a new instance of the TeapotPatch class.

Method Details

TeapotPatch() public method

Initializes a new instance of the TeapotPatch class.
public TeapotPatch ( bool mirrorZ, int indices ) : System
mirrorZ bool if set to true [mirror Z].
indices int The indices.
return System

Property Details

Indices public_oe property

All control points are stored as integers.
public int[] Indices
return int[]

MirrorZ public_oe property

A teapot is symmetrical we use it for draw the other side.
public bool MirrorZ
return bool