Quantcast
Channel: openFrameworks - Latest posts
Viewing all articles
Browse latest Browse all 40524

Cannot instantiate abstract class using 0.9.0: Visual Studio 2015 on Windows 8.1

$
0
0

Sorry, but must admit finding the answer myself (embarrassed):

Found convention in: of_v0.9.0_vs_release\libs\openFrameworks\gl\ofTexture.h:

using ofBaseDraws::draw;

void draw(float x, float y) const;
void draw(float x, float y, float w, float h) const;
float getHeight() const;
float getWidth() const;

//*** and in ofTexture.cpp:

void draw(float x, float y) {
.....
}
void draw(float x, float y, float w, float h) {
....
}
float getHeight() {
return height;
}
float getWidth() {
return width;
}


Viewing all articles
Browse latest Browse all 40524

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>