Create a new bounding_box object.
Arguments
- min
A numeric vector of length 3. Minimum vertex box-corner.
- max
A numeric vector of length 3. Maximum vertex box-corner.
Note
This class has been auto-generated from the following Raylib struct definition:
typedef struct BoundingBox {
Vector3 min; // Minimum vertex box-corner
Vector3 max; // Maximum vertex box-corner
} BoundingBox;
Examples
bou <- bounding_box(c(0, 0, 0), c(0, 0, 0))
bou$min
#> x y z
#> 0 0 0
bou$max
#> x y z
#> 0 0 0