O'Reilly logo
  • aneta molenda thinks this is interesting:

// draw a x over the whole window area gl::drawLine( Vec2f(0.0f, 0.0f), Vec2f(getWindowWidth(), getWindowHeight()) ); gl::drawLine( Vec2f(0.0f, getWindowHeight()), Vec2f(getWindowWidth(), 0.0f) );

From

Cover of Cinder – Begin Creative Coding

Note

its now vec2 not Vec2f