Method | Description | |
---|---|---|
Expand ( this boundingBox, float factor = 0.1f ) : |
Expands the IBoundingBox's values.
|
|
GetCenter ( this boundingBox ) : vec3 |
Gets center position of this bounding box.
|
|
Render ( this boundingBox, Color color, |
Render this bounding box.
|
|
Union ( this boundingBox, IBoundingBox another ) : |
expand this boudning box's positions to wrap another one.
|
|
Union ( this box, vec3 point ) : |
|
Method | Description | |
---|---|---|
Max ( vec3 a, vec3 b ) : vec3 |
Gets all maximum parts from two vec3.
|
|
Min ( vec3 a, vec3 b ) : vec3 |
Gets all minimum parts from two vec3.
|
public static Expand ( this boundingBox, float factor = 0.1f ) : |
||
boundingBox | this | |
factor | float | 0 for no expanding. |
return |
public static GetCenter ( this boundingBox ) : vec3 | ||
boundingBox | this | |
return | vec3 |
public static Render ( this boundingBox, Color color, |
||
boundingBox | this | |
color | Color | |
arg | ||
return | void |
public static Union ( this boundingBox, IBoundingBox another ) : |
||
boundingBox | this | |
another | IBoundingBox | |
return |
public static Union ( this box, vec3 point ) : |
||
box | this | |
point | vec3 | |
return |