@cuinjune wrote:
Is it completely okay to pass ofVec2f instead of ofVec3f as a function argument if I want to use zero as a third (z) value? Or would there be any penalty in performance?
for example, is there any difference in run time between
ofDrawTriangle(ofVec2f(0,0), ofVec2f(100,0), ofVec2f(100,100)) and
ofDrawTriangle(ofVec3f(0,0,0), ofVec3f(100,0,0), ofVec3f(100,100,0))?
Posts: 3
Participants: 2