C# Class fCraft.Drawing.EllipsoidHollowDrawOperation

Draw operation that creates a hollow ellipsoid, or an ellipsoid filled differently on inside and outside. The "shell" of the ellipsoid is always 1 block wide.
Inheritance: DrawOperation
ファイルを表示 Open project: fragmer/fCraft

Public Methods

Method Description
DrawBatch ( int maxBlocksToDraw ) : int
EllipsoidHollowDrawOperation ( Player player ) : System
Prepare ( Vector3I marks ) : bool

Private Methods

Method Description
EllipseEnumeratorXY ( BoundingBox bounds ) : IEnumerable
EllipseEnumeratorXY ( [ bounds ) : IEnumerable
EllipseEnumeratorXZ ( BoundingBox bounds ) : IEnumerable
EllipseEnumeratorXZ ( [ bounds ) : IEnumerable
EllipseEnumeratorZY ( BoundingBox bounds ) : IEnumerable
EllipseEnumeratorZY ( [ bounds ) : IEnumerable

Method Details

DrawBatch() public method

public DrawBatch ( int maxBlocksToDraw ) : int
maxBlocksToDraw int
return int

EllipsoidHollowDrawOperation() public method

public EllipsoidHollowDrawOperation ( Player player ) : System
player Player
return System

Prepare() public method

public Prepare ( Vector3I marks ) : bool
marks Vector3I
return bool