C# Class TerrainDisplay.Collision.OCTree.OCTree

Show file Open project: WCell/WCell-Terrain Class Usage Examples

Public Properties

Property Type Description
Root OCTreeNode

Public Methods

Method Description
GetIntersectingNodes ( BoundingBox &bbox, List &intersection ) : bool
GetIntersectingNodes ( BoundingSphere &sphere, List &intersection ) : bool
GetIntersectingNodes ( BoundingSphere &sphere, Matrix &world, List &intersection ) : bool
GetIntersectingPolygon ( Ray ray, Matrix world, OCTreeIntersection &intersection ) : bool
GetIntersectingPolygon ( Ray &ray, OCTreeIntersection &intersection ) : bool
GetIntersectingPolygons ( BoundingSphere &sphere, Vector3 &velocityNormal, List &intersection ) : bool
MoveSphere ( BoundingSphere &sphere, Vector3 &sphereVelocity, float Friction ) : void
MoveSphere ( BoundingSphere &sphere, Vector3 &sphereVelocity, float Friction, List &sphereColliders ) : void

Method Details

GetIntersectingNodes() public method

public GetIntersectingNodes ( BoundingBox &bbox, List &intersection ) : bool
bbox BoundingBox
intersection List
return bool

GetIntersectingNodes() public method

public GetIntersectingNodes ( BoundingSphere &sphere, List &intersection ) : bool
sphere BoundingSphere
intersection List
return bool

GetIntersectingNodes() public method

public GetIntersectingNodes ( BoundingSphere &sphere, Matrix &world, List &intersection ) : bool
sphere BoundingSphere
world Matrix
intersection List
return bool

GetIntersectingPolygon() public method

public GetIntersectingPolygon ( Ray ray, Matrix world, OCTreeIntersection &intersection ) : bool
ray Ray
world Matrix
intersection OCTreeIntersection
return bool

GetIntersectingPolygon() public method

public GetIntersectingPolygon ( Ray &ray, OCTreeIntersection &intersection ) : bool
ray Ray
intersection OCTreeIntersection
return bool

GetIntersectingPolygons() public method

public GetIntersectingPolygons ( BoundingSphere &sphere, Vector3 &velocityNormal, List &intersection ) : bool
sphere BoundingSphere
velocityNormal Vector3
intersection List
return bool

MoveSphere() public method

public MoveSphere ( BoundingSphere &sphere, Vector3 &sphereVelocity, float Friction ) : void
sphere BoundingSphere
sphereVelocity Vector3
Friction float
return void

MoveSphere() public method

public MoveSphere ( BoundingSphere &sphere, Vector3 &sphereVelocity, float Friction, List &sphereColliders ) : void
sphere BoundingSphere
sphereVelocity Vector3
Friction float
sphereColliders List
return void

Property Details

Root public property

public OCTreeNode,TerrainDisplay.Collision.OCTree Root
return OCTreeNode