Box3.kl¶
Types¶
Box3 (struct)¶
The Box3 represents a 3 dimensional bounding box. It uses Vec3 types for each of the 2 elements.
参考
/*
** Example: Construct Box3
*/
// create a box3
Vec3 min(0.0, 0.0, 0.0);
Vec3 max(1.0, 1.0, 1.0);
Box3 box(min, max);
Methods¶
Box3 ( in Box3 other ) | |
Box3 ( in Vec3 min, in Vec3 max ) | |
Box3 () | |
Box3 | affineTransform ? ( in Mat44 mat44 ) |
Vec3 | center ? () |
Box3 | clone ? () |
Vec3 | diagonal ? () |
Scalar | diameter ? () |
UInt32 | hash ? () |
Boolean | isEmpty ? () |
Boolean | isInfinite ? () |
merge ! ( in Box3 v ) | |
merge ! ( in Vec3 v ) | |
setEmpty ! () | |
setInfinite ! () |