mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 08:04:01 +02:00
Removed unused function.
This commit is contained in:
parent
cd2bd32210
commit
e91d47174b
2 changed files with 0 additions and 9 deletions
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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; }
|
||||
|
||||
|
|
Loading…
Reference in a new issue