void HdChangeTracker::ResetVaryingState() { ++_varyingStateVersion; ++_changeCount; // reset all variability bit TF_FOR_ALL (it, _rprimState) { if (IsClean(it->second)) { it->second &= ~Varying; } } }
void hgeRect::Encapsulate(float x, float y) { if(IsClean()) { x1 = x2 = x; y1 = y2 = y; } else { if(x<x1) x1=x; if(x>x2) x2=x; if(y<y1) y1=y; if(y>y2) y2=y; } }