HDK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
karma_procedurals/sphere_bbox.vfl
/*%vcc -l bbox.otl -O vop % */
cvex
main(
// Parameters
float
radius = 1;
vector
color
= {1, 1, 1};
// Outputs
export vector bbox_max = 0;
export vector bbox_min = 0;
)
{
// set bounding box
bbox_max = set(radius);
bbox_min = set(-radius);
}
Generated on Sun Nov 17 2024 03:01:00 for HDK by
1.8.6