using namespace HDK_Sample;
void
{
}
: myId(id)
{
bind(myId);
}
GT_PrimTetraCollect::~GT_PrimTetraCollect()
{
}
{
}
int nsegments,
{
}
{
if (!offsets.entries())
static const int vertex_order[] = {
0, 1, 2,
1, 3, 2,
1, 0, 3,
0, 2, 3
};
for (
exint i = 0; i < offsets.entries(); ++i)
{
for (int face = 0; face < 4; ++face)
{
for (int voff = 0; voff < 3; ++voff)
{
int vidx = vertex_order[face*3 + voff];
}
}
}
shared = geometry->getPointAttributes(filter);
vertex = geometry->getVertexAttributes(filter, &ga_vertices);
uniform = geometry->getPrimitiveAttributes(filter, &ga_faces);
detail = geometry->getDetailAttributes(filter);
shared, vertex, uniform, detail);
}