C# Class fCraft.Forester.ProceduralTree

Inheritance: Tree
Show file Open project: GlennMR/800craft

Public Methods

Method Description
MakeFoliage ( ) : void
MakeTrunk ( ) : void
Prepare ( ) : void

Protected Methods

Method Description
ShapeFunc ( int z ) : float

Private Methods

Method Description
CrossSection ( Vector3I center, float radius, int diraxis, Block matidx ) : void
FoliageCluster ( Vector3I center ) : void
MakeBranches ( ) : void
MakeRoots ( IList rootbases ) : void
TaperedLimb ( Vector3I start, Vector3I end, float startSize, float endSize ) : void

Method Details

MakeFoliage() public method

public MakeFoliage ( ) : void
return void

MakeTrunk() public method

public MakeTrunk ( ) : void
return void

Prepare() public method

public Prepare ( ) : void
return void

ShapeFunc() protected method

protected ShapeFunc ( int z ) : float
z int
return float