C# Class hyades.physics.BoundingSquare

Afficher le fichier Open project: zfedoran/bubblebound Class Usage Examples

Méthodes publiques

Свойство Type Description
max Vector2
min Vector2
valid bool

Méthodes publiques

Méthode Description
Add ( float x, float y ) : void
BoundingSquare ( Vector2 &min, Vector2 &max ) : System
Clear ( ) : void
Contains ( float x, float y ) : bool
Intersects ( BoundingSquare &aabb ) : bool

Method Details

Add() public méthode

public Add ( float x, float y ) : void
x float
y float
Résultat void

BoundingSquare() public méthode

public BoundingSquare ( Vector2 &min, Vector2 &max ) : System
min Vector2
max Vector2
Résultat System

Clear() public méthode

public Clear ( ) : void
Résultat void

Contains() public méthode

public Contains ( float x, float y ) : bool
x float
y float
Résultat bool

Intersects() public méthode

public Intersects ( BoundingSquare &aabb ) : bool
aabb BoundingSquare
Résultat bool

Property Details

max public_oe property

public Vector2 max
Résultat Vector2

min public_oe property

public Vector2 min
Résultat Vector2

valid public_oe property

public bool valid
Résultat bool