Метод | Описание | |
---|---|---|
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 ) : |
|
Метод | Описание | |
---|---|---|
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. |
Результат |
public static GetCenter ( this boundingBox ) : vec3 | ||
boundingBox | this | |
Результат | vec3 |
public static Render ( this boundingBox, Color color, |
||
boundingBox | this | |
color | Color | |
arg | ||
Результат | void |
public static Union ( this boundingBox, IBoundingBox another ) : |
||
boundingBox | this | |
another | IBoundingBox | |
Результат |
public static Union ( this box, vec3 point ) : |
||
box | this | |
point | vec3 | |
Результат |