mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 16:38:27 +02:00
fix various warnings
This commit is contained in:
parent
fce6fdcc5e
commit
0ea901fd72
3 changed files with 5 additions and 2 deletions
|
@ -218,7 +218,6 @@ void RenderableParticleEffectEntityItem::updateRenderItem() {
|
||||||
_vertices.clear();
|
_vertices.clear();
|
||||||
|
|
||||||
// build vertices from particle positions and radiuses
|
// build vertices from particle positions and radiuses
|
||||||
glm::vec3 frustumPosition = frustum->getPosition();
|
|
||||||
glm::vec3 dir = frustum->getDirection();
|
glm::vec3 dir = frustum->getDirection();
|
||||||
for (auto&& particle : particleDetails) {
|
for (auto&& particle : particleDetails) {
|
||||||
glm::vec3 right = glm::normalize(glm::cross(glm::vec3(0.0f, 1.0f, 0.0f), dir));
|
glm::vec3 right = glm::normalize(glm::cross(glm::vec3(0.0f, 1.0f, 0.0f), dir));
|
||||||
|
|
|
@ -6,4 +6,7 @@
|
||||||
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
||||||
//
|
//
|
||||||
|
|
||||||
#include "Deck.h"
|
|
||||||
|
// FIXME -- DO NOT include headers in empty CPP files, it produces warnings. Once we define new symbols
|
||||||
|
// and some actual code here, we can uncomment this include.
|
||||||
|
//#include "Deck.h"
|
||||||
|
|
|
@ -80,6 +80,7 @@ FrameType Frame::registerFrameType(const QString& frameTypeName) {
|
||||||
std::call_once(once, [&] {
|
std::call_once(once, [&] {
|
||||||
auto headerType = frameTypes.registerValue("com.highfidelity.recording.Header");
|
auto headerType = frameTypes.registerValue("com.highfidelity.recording.Header");
|
||||||
Q_ASSERT(headerType == Frame::TYPE_HEADER);
|
Q_ASSERT(headerType == Frame::TYPE_HEADER);
|
||||||
|
Q_UNUSED(headerType); // FIXME - build system on unix still not upgraded to Qt 5.5.1 so Q_ASSERT still produces warnings
|
||||||
});
|
});
|
||||||
return frameTypes.registerValue(frameTypeName);
|
return frameTypes.registerValue(frameTypeName);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue