mirror of
https://github.com/overte-org/overte.git
synced 2025-04-15 22:07:34 +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) {
|
||||
withWriteLock([&] {
|
||||
_color[RED_INDEX] = value.red;
|
||||
|
|
|
@ -69,7 +69,7 @@ void Light::setCastShadows(const bool castShadows) {
|
|||
_castShadows = castShadows;
|
||||
}
|
||||
|
||||
const bool Light::getCastShadows() const {
|
||||
bool Light::getCastShadows() const {
|
||||
return _castShadows;
|
||||
}
|
||||
|
||||
|
|
|
@ -104,7 +104,7 @@ public:
|
|||
const Vec3& getDirection() const;
|
||||
|
||||
void setCastShadows(const bool castShadows);
|
||||
const bool getCastShadows() const;
|
||||
bool getCastShadows() const;
|
||||
|
||||
void setOrientation(const Quat& orientation);
|
||||
const glm::quat& getOrientation() const { return _transform.getRotation(); }
|
||||
|
|
Loading…
Reference in a new issue