C# Class RTSEngine.Data.SelectionDetection

Afficher le fichier Open project: RegrowthStudios/VoxelRTS Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public static FromSelectionRect ( Matrix mView, Matrix mProj, Vector2 min, Vector2 max ) : BoundingFrustum
mView Matrix
mProj Matrix
min Vector2
max Vector2
Résultat BoundingFrustum

Intersects() public static méthode

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