I just downloaded the newest version of openframeworks (0.9.0) and am a bit embarassed that I’m not sure what the current data structure for holding lines is. It used to be
ofLine(), but that seems to have become deprecated, with the preferred call being
ofDrawLines. However, this has two issues:
Visual Studio doesn’t appear to recognize this call either, even when I include ofGraphics. This may be a problem with the property sheet that I can correct.
This doesn’t provide a structure for actually holding the line data, this just draws a line to the screen. I could use
std::vectorto hold the data, but I felt like there was probably a more openFrameworks way to do it.
So I find myself a bit confused! What’s the best way to draw lines now?