C# Class TerrainDisplay.Collision.TerrainTriangleHolder

Inheritance: IQuadObject, ICollidable
Mostra file Open project: WCell/WCell-Terrain

Public Methods

Method Description
IntersectWith ( Ray ray, float &distance ) : bool
TerrainTriangleHolder ( int indices, System.Vector3 vertices ) : System

Private Methods

Method Description
CalculateBounds ( IEnumerable vertices ) : void

Method Details

IntersectWith() public method

public IntersectWith ( Ray ray, float &distance ) : bool
ray Ray
distance float
return bool

TerrainTriangleHolder() public method

public TerrainTriangleHolder ( int indices, System.Vector3 vertices ) : System
indices int
vertices System.Vector3
return System