示例#1
0
void CurveShape::Tesselate(shared_ptr<TesselationCache> cache, float time) {
    if(!cache->SupportSegments()) { cerr << "cannot sample primitive" << endl; return; }

    cache->AddSegments(posArray, tangentArray, uvArray, radius, segmentArray);
}