C# Class RTSEngine.Data.SelectionDetection

Datei anzeigen Open project: RegrowthStudios/VoxelRTS Class Usage Examples

Public Methods

Method Description
FromSelectionRect ( Matrix mView, Matrix mProj, Vector2 min, Vector2 max ) : BoundingFrustum
Intersects ( BoundingFrustum f, Microsoft.Xna.Framework.BoundingBox &box ) : bool

Method Details

FromSelectionRect() public static method

public static FromSelectionRect ( Matrix mView, Matrix mProj, Vector2 min, Vector2 max ) : BoundingFrustum
mView Matrix
mProj Matrix
min Vector2
max Vector2
return BoundingFrustum

Intersects() public static method

public static Intersects ( BoundingFrustum f, Microsoft.Xna.Framework.BoundingBox &box ) : bool
f BoundingFrustum
box Microsoft.Xna.Framework.BoundingBox
return bool