C# Class hyades.physics.BoundingSquare

Show file Open project: zfedoran/bubblebound Class Usage Examples

Public Properties

Property Type Description
max Vector2
min Vector2
valid bool

Public Methods

Method 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 method

public Add ( float x, float y ) : void
x float
y float
return void

BoundingSquare() public method

public BoundingSquare ( Vector2 &min, Vector2 &max ) : System
min Vector2
max Vector2
return System

Clear() public method

public Clear ( ) : void
return void

Contains() public method

public Contains ( float x, float y ) : bool
x float
y float
return bool

Intersects() public method

public Intersects ( BoundingSquare &aabb ) : bool
aabb BoundingSquare
return bool

Property Details

max public property

public Vector2 max
return Vector2

min public property

public Vector2 min
return Vector2

valid public property

public bool valid
return bool