메소드 | 설명 | |
---|---|---|
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 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 | |
리턴 |