Removed unused function.

This commit is contained in:
Andrzej Kapolka 2014-02-27 12:37:17 -08:00
parent cd2bd32210
commit e91d47174b
2 changed files with 0 additions and 9 deletions

View file

@ -462,12 +462,6 @@ void Model::setURL(const QUrl& url, const QUrl& fallback, bool delayLoad) {
_baseGeometry = _geometry = Application::getInstance()->getGeometryCache()->getGeometry(url, fallback, delayLoad);
}
void Model::ensureLoading() {
if (_geometry) {
_geometry->ensureLoading();
}
}
glm::vec4 Model::computeAverageColor() const {
return _geometry ? _geometry->computeAverageColor() : glm::vec4(1.0f, 1.0f, 1.0f, 1.0f);
}

View file

@ -56,9 +56,6 @@ public:
Q_INVOKABLE void setURL(const QUrl& url, const QUrl& fallback = QUrl(), bool delayLoad = false);
const QUrl& getURL() const { return _url; }
/// Makes sure our configured model is loading.
void ensureLoading();
/// Sets the distance parameter used for LOD computations.
void setLODDistance(float distance) { _lodDistance = distance; }