HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CVEX/test.vfl
void
testBound(string name)
{
if (isbound(name))
printf("%s is bound\n", name);
else
printf("%s is not bound\n", name);
}
cvex
vector P=0;
int unbound = 3;
export float s=0;
export vector Cf=0;
)
{
testBound("P");
testBound("unbound");
printf("s=%g P=%g unbound=%d\n", s, P, unbound);
Cf = noise(P*10);
s *= 2;
}