mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01: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();
|
||||
|
||||
// build vertices from particle positions and radiuses
|
||||
glm::vec3 frustumPosition = frustum->getPosition();
|
||||
glm::vec3 dir = frustum->getDirection();
|
||||
for (auto&& particle : particleDetails) {
|
||||
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
|
||||
//
|
||||
|
||||
#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, [&] {
|
||||
auto headerType = frameTypes.registerValue("com.highfidelity.recording.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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue