//----------------------------------------------------------
void ofRectangle::growToInclude(const ofPoint& p0, const ofPoint& p1) {
    growToInclude(p0);
    growToInclude(p1);
}
예제 #2
0
//----------------------------------------------------------
void ofRectangle::growToInclude(float px, float py){
    growToInclude(ofPoint(px,py));
}
예제 #3
0
void glmRectangle::growToInclude(const std::vector<glm::vec3> &_points){
    for(auto &it: _points){
        growToInclude(it);
    }
}