//
// ofxAsssimpTexture.cpp
//
// Created by Lukasz Karluk on 27/03/13.
//
//
#include "ofxAssimpTexture.h"
#include "ofConstants.h"
using namespace std;
ofxAssimpTexture::ofxAssimpTexture() {
texturePath = "";
}
ofxAssimpTexture::ofxAssimpTexture(ofTexture texture, string texturePath) {
this->texture = texture;
this->texturePath = texturePath;
}
ofTexture & ofxAssimpTexture::getTextureRef() {
return texture;
}
string ofxAssimpTexture::getTexturePath() {
return texturePath;
}
bool ofxAssimpTexture::hasTexture() {
return texture.isAllocated();
}
Comments