C# Class TerrainDisplay.Collision.BSPTree

Mostra file Open project: WCell/WCell-Terrain

Private Properties

Property Type Description
BSPTree System
BSPTree System
DumpBranchContents void
FindRootNode short
FirstPointOfIntersection bool
GetBranchContents void
IntersectsWith bool
VisitNodes void

Public Methods

Method Description
DumpNodes ( short nodeId, System.Vector3 vectors, TextWriter file ) : void
DumpTree ( System.Vector3 vectors ) : void

Private Methods

Method Description
BSPTree ( IList nodes ) : System
BSPTree ( short rootId, BSPNode nodes ) : System
DumpBranchContents ( TextWriter file, BSPNode startAt, IList vectors ) : void
FindRootNode ( IList nodes ) : short
FirstPointOfIntersection ( Ray &ray, float &tMax, System.Vector3 vertices, System.Vector3 &pointOfIntersection ) : bool
GetBranchContents ( short nodeId, IList vectors, ICollection vertices ) : void
IntersectsWith ( Ray &ray, float &tMax, System.Vector3 vertices ) : bool
VisitNodes ( short nodeId, Ray &ray, float &tMax, Action callback ) : void

Method Details

DumpNodes() public method

public DumpNodes ( short nodeId, System.Vector3 vectors, TextWriter file ) : void
nodeId short
vectors System.Vector3
file System.IO.TextWriter
return void

DumpTree() public method

public DumpTree ( System.Vector3 vectors ) : void
vectors System.Vector3
return void