C# Class TerrainDisplay.Collision.OCTree.OCTreeBuilder

Afficher le fichier Open project: WCell/WCell-Terrain

Méthodes publiques

Méthode Description
Build ( Vector3 vertexArray, int indexArray ) : OCTree
OCTreeBuilder ( int maxPolygonsPerNode, int maxSubdivisions, bool makeSquare, float weldDelta, float expandBoundsFactor ) : System.Collections.Generic

Private Methods

Méthode Description
CalculateBounds ( OCTPoly polyList ) : BoundingBox
RecursiveBuild ( IntermediateOCTreeNode node, OCTPoly PolyList, Vector3 center, Vector3 extents, int depth ) : void
Split ( OCTPoly poly, Plane p, OCTPoly &newPolys, int &numPolys ) : void

Method Details

Build() public méthode

public Build ( Vector3 vertexArray, int indexArray ) : OCTree
vertexArray Vector3
indexArray int
Résultat OCTree

OCTreeBuilder() public méthode

public OCTreeBuilder ( int maxPolygonsPerNode, int maxSubdivisions, bool makeSquare, float weldDelta, float expandBoundsFactor ) : System.Collections.Generic
maxPolygonsPerNode int
maxSubdivisions int
makeSquare bool
weldDelta float
expandBoundsFactor float
Résultat System.Collections.Generic