using namespace HDK_Sample;
};
{
public:
{
}
};
void
{
}
{
}
{
}
const char *
{
return "RAY_DemoBox";
}
int
{
val[0] = val[1] = val[2] = -1;
import(
"minbound",
val, 3);
val[0] = val[1] = val[2] = 1;
import(
"maxbound",
val, 3);
return 1;
}
void
{
box = myBox;
}
void
{
obj->addGeometry(geo);
obj->changeSetting("surface", "constant Cd ( 1 0 0 )", "object");
}