mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 14:08:51 +02:00
Fixed Ubuntu warnings.
This commit is contained in:
parent
adb02d69f9
commit
7e99570824
3 changed files with 2 additions and 3 deletions
|
@ -619,7 +619,6 @@ void ModelEntityItem::setColor(const rgbColor& value) {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
#pragma optimize("", off)
|
|
||||||
void ModelEntityItem::setColor(const xColor& value) {
|
void ModelEntityItem::setColor(const xColor& value) {
|
||||||
withWriteLock([&] {
|
withWriteLock([&] {
|
||||||
_color[RED_INDEX] = value.red;
|
_color[RED_INDEX] = value.red;
|
||||||
|
|
|
@ -69,7 +69,7 @@ void Light::setCastShadows(const bool castShadows) {
|
||||||
_castShadows = castShadows;
|
_castShadows = castShadows;
|
||||||
}
|
}
|
||||||
|
|
||||||
const bool Light::getCastShadows() const {
|
bool Light::getCastShadows() const {
|
||||||
return _castShadows;
|
return _castShadows;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -104,7 +104,7 @@ public:
|
||||||
const Vec3& getDirection() const;
|
const Vec3& getDirection() const;
|
||||||
|
|
||||||
void setCastShadows(const bool castShadows);
|
void setCastShadows(const bool castShadows);
|
||||||
const bool getCastShadows() const;
|
bool getCastShadows() const;
|
||||||
|
|
||||||
void setOrientation(const Quat& orientation);
|
void setOrientation(const Quat& orientation);
|
||||||
const glm::quat& getOrientation() const { return _transform.getRotation(); }
|
const glm::quat& getOrientation() const { return _transform.getRotation(); }
|
||||||
|
|
Loading…
Reference in a new issue