コード例 #1
0
//----------------------------------------------------------
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
ファイル: glmRectangle.cpp プロジェクト: gobomus/ofxGlmTools
void glmRectangle::growToInclude(const std::vector<glm::vec3> &_points){
    for(auto &it: _points){
        growToInclude(it);
    }
}