run regex header replacement on all cpp files

This commit is contained in:
Stephen Birarda 2014-04-09 09:35:42 -07:00
parent 974d8c0427
commit 684c6b5372
206 changed files with 1065 additions and 1094 deletions

View file

@ -1,9 +1,12 @@
// //
// AnimationServer.cpp // AnimationServer.cpp
// hifi // animation-server/src
// //
// Created by Stephen Birarda on 12/5/2013. // Created by Stephen Birarda on 12/5/2013.
// Copyright (c) 2013 HighFidelity, Inc. All rights reserved. // Copyright 2013 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include <algorithm> #include <algorithm>

View file

@ -1,9 +1,12 @@
// //
// main.cpp // main.cpp
// Animation Server // animation-server/src
// //
// Created by Brad Hefta-Gaub on 05/16/2013 // Created by Brad Hefta-Gaub on 05/16/2013.
// Copyright (c) 2012 High Fidelity, Inc. All rights reserved. // Copyright 2012 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include "AnimationServer.h" #include "AnimationServer.h"

View file

@ -1,9 +1,12 @@
// //
// Agent.cpp // Agent.cpp
// hifi // assignment-client/src
// //
// Created by Stephen Birarda on 7/1/13. // Created by Stephen Birarda on 7/1/13.
// Copyright (c) 2013 HighFidelity, Inc. All rights reserved. // Copyright 2013 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include <QtCore/QCoreApplication> #include <QtCore/QCoreApplication>

View file

@ -1,9 +1,12 @@
// //
// AssignmentClient.cpp // AssignmentClient.cpp
// hifi // assignment-client/src
// //
// Created by Stephen Birarda on 11/25/2013. // Created by Stephen Birarda on 11/25/2013.
// Copyright (c) 2013 HighFidelity, Inc. All rights reserved. // Copyright 2013 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include <QtCore/QProcess> #include <QtCore/QProcess>

View file

@ -1,9 +1,12 @@
// //
// AssignmentClientMonitor.cpp // AssignmentClientMonitor.cpp
// hifi // assignment-client/src
// //
// Created by Stephen Birarda on 1/10/2014. // Created by Stephen Birarda on 1/10/2014.
// Copyright (c) 2014 HighFidelity, Inc. All rights reserved. // Copyright 2014 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include <Logging.h> #include <Logging.h>
@ -53,4 +56,4 @@ void AssignmentClientMonitor::spawnChildClient() {
void AssignmentClientMonitor::childProcessFinished(int exitCode, QProcess::ExitStatus exitStatus) { void AssignmentClientMonitor::childProcessFinished(int exitCode, QProcess::ExitStatus exitStatus) {
qDebug("Replacing dead child assignment client with a new one"); qDebug("Replacing dead child assignment client with a new one");
spawnChildClient(); spawnChildClient();
} }

View file

@ -1,9 +1,12 @@
// //
// AssignmentFactory.cpp // AssignmentFactory.cpp
// hifi // assignment-client/src
// //
// Created by Stephen Birarda on 9/17/13. // Created by Stephen Birarda on 9/17/13.
// Copyright (c) 2013 HighFidelity, Inc. All rights reserved. // Copyright 2013 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include <PacketHeaders.h> #include <PacketHeaders.h>

View file

@ -1,9 +1,12 @@
// //
// AssignmentThread.cpp // AssignmentThread.cpp
// hifi // assignment-client/src
// //
// Created by Stephen Birarda on 2014-03-28. // Created by Stephen Birarda on 2014.
// Copyright (c) 2014 High Fidelity, Inc. All rights reserved. // Copyright 2014 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include "AssignmentThread.h" #include "AssignmentThread.h"
@ -13,4 +16,4 @@ AssignmentThread::AssignmentThread(const SharedAssignmentPointer& assignment, QO
_assignment(assignment) _assignment(assignment)
{ {
} }

View file

@ -1,9 +1,12 @@
// //
// AudioMixer.cpp // AudioMixer.cpp
// hifi // assignment-client/src/audio
// //
// Created by Stephen Birarda on 8/22/13. // Created by Stephen Birarda on 8/22/13.
// Copyright (c) 2013 HighFidelity, Inc. All rights reserved. // Copyright 2013 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include <mmintrin.h> #include <mmintrin.h>

View file

@ -1,9 +1,12 @@
// //
// AudioMixerClientData.cpp // AudioMixerClientData.cpp
// hifi // assignment-client/src/audio
// //
// Created by Stephen Birarda on 10/18/13. // Created by Stephen Birarda on 10/18/13.
// Copyright (c) 2013 HighFidelity, Inc. All rights reserved. // Copyright 2013 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include <QDebug> #include <QDebug>

View file

@ -1,9 +1,12 @@
// //
// AvatarAudioRingBuffer.cpp // AvatarAudioRingBuffer.cpp
// hifi // assignment-client/src/audio
// //
// Created by Stephen Birarda on 6/5/13. // Created by Stephen Birarda on 6/5/13.
// Copyright (c) 2013 HighFidelity, Inc. All rights reserved. // Copyright 2013 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include <PacketHeaders.h> #include <PacketHeaders.h>
@ -18,4 +21,4 @@ AvatarAudioRingBuffer::AvatarAudioRingBuffer() :
int AvatarAudioRingBuffer::parseData(const QByteArray& packet) { int AvatarAudioRingBuffer::parseData(const QByteArray& packet) {
_shouldLoopbackForNode = (packetTypeForPacket(packet) == PacketTypeMicrophoneAudioWithEcho); _shouldLoopbackForNode = (packetTypeForPacket(packet) == PacketTypeMicrophoneAudioWithEcho);
return PositionalAudioRingBuffer::parseData(packet); return PositionalAudioRingBuffer::parseData(packet);
} }

View file

@ -1,14 +1,12 @@
// //
// AvatarMixer.cpp // AvatarMixer.cpp
// hifi // assignment-client/src/avatars
// //
// Created by Stephen Birarda on 9/5/13. // Created by Stephen Birarda on 9/5/13.
// Copyright (c) 2013 HighFidelity, Inc. All rights reserved. // Copyright 2013 High Fidelity, Inc.
// //
// Original avatar-mixer main created by Leonardo Murillo on 03/25/13. // Distributed under the Apache License, Version 2.0.
// // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// The avatar mixer receives head, hand and positional data from all connected
// nodes, and broadcasts that data back to them, every BROADCAST_INTERVAL ms.
// //
#include <QtCore/QCoreApplication> #include <QtCore/QCoreApplication>

View file

@ -1,9 +1,12 @@
// //
// AvatarMixerClientData.cpp // AvatarMixerClientData.cpp
// hifi // assignment-client/src/avatars
// //
// Created by Stephen Birarda on 2/4/2014. // Created by Stephen Birarda on 2/4/2014.
// Copyright (c) 2014 HighFidelity, Inc. All rights reserved. // Copyright 2014 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include "AvatarMixerClientData.h" #include "AvatarMixerClientData.h"

View file

@ -1,9 +1,12 @@
// //
// main.cpp // main.cpp
// assignment-client // assignment-client/src
// //
// Created by Stephen Birarda on 8/22/13. // Created by Stephen Birarda on 8/22/13.
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved. // Copyright 2013 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include <Logging.h> #include <Logging.h>
@ -37,4 +40,4 @@ int main(int argc, char* argv[]) {
AssignmentClient client(argc, argv); AssignmentClient client(argc, argv);
return client.exec(); return client.exec();
} }
} }

View file

@ -1,9 +1,12 @@
// //
// MetavoxelServer.cpp // MetavoxelServer.cpp
// hifi // assignment-client/src/metavoxels
// //
// Created by Andrzej Kapolka on 12/18/13. // Created by Andrzej Kapolka on 12/18/13.
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved. // Copyright 2013 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include <QDateTime> #include <QDateTime>

View file

@ -1,11 +1,12 @@
// //
// OctreeInboundPacketProcessor.cpp // OctreeInboundPacketProcessor.cpp
// voxel-server // assignment-client/src/octree
// //
// Created by Brad Hefta-Gaub on 8/21/13 // Created by Brad Hefta-Gaub on 8/21/13.
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved. // Copyright 2013 High Fidelity, Inc.
// //
// Threaded or non-threaded network packet processor for the voxel-server // Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include <PacketHeaders.h> #include <PacketHeaders.h>

View file

@ -1,9 +1,12 @@
// //
// OctreeQueryNode.cpp // OctreeQueryNode.cpp
// hifi // assignment-client/src/octree
// //
// Created by Stephen Birarda on 3/21/13. // Created by Stephen Birarda on 3/21/13.
// Copyright 2013 High Fidelity, Inc.
// //
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include "PacketHeaders.h" #include "PacketHeaders.h"

View file

@ -1,8 +1,12 @@
// //
// OctreeSendThread.cpp // OctreeSendThread.cpp
// assignment-client/src/octree
// //
// Created by Brad Hefta-Gaub on 8/21/13 // Created by Brad Hefta-Gaub on 8/21/13.
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved. // Copyright 2013 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include <QMutexLocker> #include <QMutexLocker>

View file

@ -1,9 +1,12 @@
// //
// OctreeServer.cpp // OctreeServer.cpp
// hifi // assignment-client/src/octree
// //
// Created by Brad Hefta-Gaub on 9/16/13. // Created by Brad Hefta-Gaub on 9/16/13.
// Copyright (c) 2013 HighFidelity, Inc. All rights reserved. // Copyright 2013 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include <QJsonObject> #include <QJsonObject>

View file

@ -1,9 +1,12 @@
// //
// ParticleServer.cpp // ParticleServer.cpp
// hifi // assignment-client/src/particles
// //
// Created by Brad Hefta-Gaub on 12/4/13 // Created by Brad Hefta-Gaub on 12/4/13.
// Copyright (c) 2013 HighFidelity, Inc. All rights reserved. // Copyright 2013 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include <QTimer> #include <QTimer>

View file

@ -1,9 +1,12 @@
// //
// VoxelServer.cpp // VoxelServer.cpp
// hifi // assignment-client/src/voxels
// //
// Created by Brad Hefta-Gaub on 9/16/13. // Created by Brad Hefta-Gaub on 9/16/13.
// Copyright (c) 2013 HighFidelity, Inc. All rights reserved. // Copyright 2013 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include <VoxelTree.h> #include <VoxelTree.h>

View file

@ -1,9 +1,12 @@
// //
// DomainServer.cpp // DomainServer.cpp
// hifi // domain-server/src
// //
// Created by Stephen Birarda on 9/26/13. // Created by Stephen Birarda on 9/26/13.
// Copyright (c) 2013 HighFidelity, Inc. All rights reserved. // Copyright 2013 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include <signal.h> #include <signal.h>

View file

@ -1,9 +1,12 @@
// //
// DomainServerNodeData.cpp // DomainServerNodeData.cpp
// hifi // domain-server/src
// //
// Created by Stephen Birarda on 2/6/2014. // Created by Stephen Birarda on 2/6/2014.
// Copyright (c) 2014 HighFidelity, Inc. All rights reserved. // Copyright 2014 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include <QtCore/QDataStream> #include <QtCore/QDataStream>
@ -45,4 +48,4 @@ QJsonObject DomainServerNodeData::mergeJSONStatsFromNewObject(const QJsonObject&
} }
return destinationObject; return destinationObject;
} }

View file

@ -1,15 +1,12 @@
// //
// main.cpp // main.cpp
// Domain Server // domain-server/src
// //
// Created by Philip Rosedale on 11/20/12. // Created by Philip Rosedale on 11/20/12.
// Copyright (c) 2012 High Fidelity, Inc. All rights reserved. // Copyright 2012 High Fidelity, Inc.
// //
// The Domain Server keeps a list of nodes that have connected to it, and echoes that list of // Distributed under the Apache License, Version 2.0.
// nodes out to nodes when they check in. // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
// The connection is stateless... the domain server will set you inactive if it does not hear from
// you in LOGOFF_CHECK_INTERVAL milliseconds, meaning your info will not be sent to other users.
// //
#include <QtCore/QCoreApplication> #include <QtCore/QCoreApplication>

View file

@ -1,9 +1,12 @@
// //
// Application.cpp // Application.cpp
// interface // interface/src
// //
// Created by Andrzej Kapolka on 5/10/13. // Created by Andrzej Kapolka on 5/10/13.
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved. // Copyright 2013 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#ifdef WIN32 #ifdef WIN32

View file

@ -1,9 +1,12 @@
// //
// Audio.cpp // Audio.cpp
// interface // interface/src
// //
// Created by Stephen Birarda on 1/22/13. // Created by Stephen Birarda on 1/22/13.
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved. // Copyright 2013 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include <cstring> #include <cstring>

View file

@ -1,9 +1,12 @@
// //
// BuckyBalls.cpp // BuckyBalls.cpp
// hifi // interface/src
// //
// Created by Philip on 1/2/14. // Created by Philip on 1/2/14.
// Copyright 2013 High Fidelity, Inc.
// //
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include "BuckyBalls.h" #include "BuckyBalls.h"

View file

@ -1,8 +1,11 @@
// //
// Camera.cpp // Camera.cpp
// interface // interface/src
// //
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved. // Copyright 2013 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include <glm/gtx/quaternion.hpp> #include <glm/gtx/quaternion.hpp>

View file

@ -1,9 +1,12 @@
// //
// DatagramProcessor.cpp // DatagramProcessor.cpp
// hifi // interface/src
// //
// Created by Stephen Birarda on 1/23/2014. // Created by Stephen Birarda on 1/23/2014.
// Copyright (c) 2014 HighFidelity, Inc. All rights reserved. // Copyright 2014 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include <QtCore/QWeakPointer> #include <QtCore/QWeakPointer>

View file

@ -1,9 +1,12 @@
// //
// Environment.cpp // Environment.cpp
// interface // interface/src
// //
// Created by Andrzej Kapolka on 5/6/13. // Created by Andrzej Kapolka on 5/6/13.
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved. // Copyright 2013 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include "InterfaceConfig.h" #include "InterfaceConfig.h"

View file

@ -1,9 +1,12 @@
// //
// FileLogger.cpp // FileLogger.cpp
// hifi // interface/src
// //
// Created by Stojce Slavkovski on 12/22/13. // Created by Stojce Slavkovski on 12/22/13.
// Copyright 2013 High Fidelity, Inc.
// //
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include "FileLogger.h" #include "FileLogger.h"

View file

@ -1,9 +1,12 @@
// //
// GLCanvas.cpp // GLCanvas.cpp
// hifi // interface/src
// //
// Created by Stephen Birarda on 8/14/13. // Created by Stephen Birarda on 8/14/13.
// Copyright (c) 2013 HighFidelity, Inc. All rights reserved. // Copyright 2013 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include "Application.h" #include "Application.h"

View file

@ -1,9 +1,12 @@
// //
// Menu.cpp // Menu.cpp
// hifi // interface/src
// //
// Created by Stephen Birarda on 8/12/13. // Created by Stephen Birarda on 8/12/13.
// Copyright (c) 2013 HighFidelity, Inc. All rights reserved. // Copyright 2013 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include <cstdlib> #include <cstdlib>

View file

@ -1,9 +1,12 @@
// //
// MetavoxelSystem.cpp // MetavoxelSystem.cpp
// interface // interface/src
// //
// Created by Andrzej Kapolka on 12/10/13. // Created by Andrzej Kapolka on 12/10/13.
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved. // Copyright 2013 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include <QMutexLocker> #include <QMutexLocker>

View file

@ -1,10 +1,12 @@
// //
// ParticleTreeRenderer.cpp // ParticleTreeRenderer.cpp
// hifi // interface/src
// //
// Created by Brad Hefta-Gaub on 12/6/13. // Created by Brad Hefta-Gaub on 12/6/13.
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved. // Copyright 2013 High Fidelity, Inc.
// //
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include <glm/gtx/quaternion.hpp> #include <glm/gtx/quaternion.hpp>

View file

@ -1,33 +1,11 @@
// //
// Physics.cpp // Physics.cpp
// hifi // interface/src
// //
// Created by Philip on July 11, 2013 // Copyright 2013 High Fidelity, Inc.
// //
// Routines to help with doing virtual world physics // Distributed under the Apache License, Version 2.0.
// // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
#include <glm/glm.hpp>
#include <SharedUtil.h>
#include "Util.h"
#include "world.h"
#include "Physics.h"
//
// Applies static friction: maxVelocity is the largest velocity for which there
// there is friction, and strength is the amount of friction force applied to reduce
// velocity.
//
void applyStaticFriction(float deltaTime, glm::vec3& velocity, float maxVelocity, float strength) {
float v = glm::length(velocity);
if (v < maxVelocity) {
velocity *= glm::clamp((1.0f - deltaTime * strength * (1.f - v / maxVelocity)), 0.0f, 1.0f);
}
}
//
// Applies velocity damping, with a strength value for linear and squared velocity damping
// //
void applyDamping(float deltaTime, glm::vec3& velocity, float linearStrength, float squaredStrength) { void applyDamping(float deltaTime, glm::vec3& velocity, float linearStrength, float squaredStrength) {

View file

@ -1,9 +1,12 @@
// //
// Stars.cpp // Stars.cpp
// interface // interface/src
// //
// Created by Tobias Schwinger on 3/22/13. // Created by Tobias Schwinger on 3/22/13.
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved. // Copyright 2013 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include "InterfaceConfig.h" #include "InterfaceConfig.h"

View file

@ -1,42 +1,13 @@
// //
// util.cpp // Util.cpp
// interface // interface/src
// //
// Created by Philip Rosedale on 8/24/12. // Created by Philip Rosedale on 8/24/12.
// Copyright (c) 2012 High Fidelity, Inc. All rights reserved. // Copyright 2012 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include <iostream>
#include <cstring>
#include <time.h>
#include <math.h>
#include <glm/glm.hpp>
#include <glm/gtc/noise.hpp>
#include <glm/gtx/quaternion.hpp>
#include <glm/detail/func_common.hpp>
#include <SharedUtil.h>
#include "InterfaceConfig.h"
#include "ui/TextRenderer.h"
#include "VoxelConstants.h"
#include "world.h"
#include "Util.h"
using namespace std;
// no clue which versions are affected...
#define WORKAROUND_BROKEN_GLUT_STROKES
// see http://www.opengl.org/resources/libraries/glut/spec3/node78.html
void eulerToOrthonormals(glm::vec3 * angles, glm::vec3 * front, glm::vec3 * right, glm::vec3 * up) {
//
// Converts from three euler angles to the associated orthonormal vectors
//
// Angles contains (pitch, yaw, roll) in radians
//
// First, create the quaternion associated with these euler angles // First, create the quaternion associated with these euler angles
glm::quat q(glm::vec3(angles->x, -(angles->y), angles->z)); glm::quat q(glm::vec3(angles->x, -(angles->y), angles->z));

View file

@ -1,9 +1,12 @@
// //
// XmppClient.cpp // XmppClient.cpp
// interface // interface/src
// //
// Created by Dimitar Dobrev on 10/3/14 // Created by Dimitar Dobrev on 10/3/14.
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved. // Copyright 2013 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#ifdef HAVE_QXMPP #ifdef HAVE_QXMPP

View file

@ -1,9 +1,12 @@
// //
// Avatar.cpp // Avatar.cpp
// interface // interface/src/avatar
// //
// Created by Philip Rosedale on 9/11/12. // Created by Philip Rosedale on 9/11/12.
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved. // Copyright 2013 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include <vector> #include <vector>

View file

@ -1,9 +1,12 @@
// //
// AvatarManager.cpp // AvatarManager.cpp
// hifi // interface/src/avatar
// //
// Created by Stephen Birarda on 1/23/2014. // Created by Stephen Birarda on 1/23/2014.
// Copyright (c) 2014 HighFidelity, Inc. All rights reserved. // Copyright 2014 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include <string> #include <string>

View file

@ -1,9 +1,12 @@
// //
// FaceModel.cpp // FaceModel.cpp
// interface // interface/src/avatar
// //
// Created by Andrzej Kapolka on 9/16/13. // Created by Andrzej Kapolka on 9/16/13.
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved. // Copyright 2013 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include <glm/gtx/transform.hpp> #include <glm/gtx/transform.hpp>

View file

@ -1,8 +1,11 @@
// //
// Hand.cpp // Hand.cpp
// interface // interface/src/avatar
// //
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved. // Copyright 2013 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include <QImage> #include <QImage>

View file

@ -1,8 +1,11 @@
// //
// Head.cpp // Head.cpp
// interface // interface/src/avatar
// //
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved. // Copyright 2013 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include <glm/gtx/quaternion.hpp> #include <glm/gtx/quaternion.hpp>

View file

@ -1,9 +1,12 @@
// //
// MyAvatar.cpp // MyAvatar.cpp
// interface // interface/src/avatar
// //
// Created by Mark Peng on 8/16/13. // Created by Mark Peng on 8/16/13.
// Copyright (c) 2012 High Fidelity, Inc. All rights reserved. // Copyright 2012 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include <algorithm> #include <algorithm>

View file

@ -1,9 +1,12 @@
// //
// SkeletonModel.cpp // SkeletonModel.cpp
// interface // interface/src/avatar
// //
// Created by Andrzej Kapolka on 10/17/13. // Created by Andrzej Kapolka on 10/17/13.
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved. // Copyright 2013 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include <glm/gtx/transform.hpp> #include <glm/gtx/transform.hpp>

View file

@ -1,9 +1,12 @@
// //
// Faceshift.cpp // Faceshift.cpp
// interface // interface/src/devices
// //
// Created by Andrzej Kapolka on 9/3/13. // Created by Andrzej Kapolka on 9/3/13.
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved. // Copyright 2013 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include <QTimer> #include <QTimer>

View file

@ -1,9 +1,12 @@
// //
// OculusManager.cpp // OculusManager.cpp
// hifi // interface/src/devices
// //
// Created by Stephen Birarda on 5/9/13. // Created by Stephen Birarda on 5/9/13.
// Copyright (c) 2012 High Fidelity, Inc. All rights reserved. // Copyright 2012 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include "InterfaceConfig.h" #include "InterfaceConfig.h"

View file

@ -1,9 +1,12 @@
// //
// Sixense.cpp // SixenseManager.cpp
// interface // interface/src/devices
// //
// Created by Andrzej Kapolka on 11/15/13. // Created by Andrzej Kapolka on 11/15/13.
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved. // Copyright 2013 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include <vector> #include <vector>

View file

@ -1,9 +1,12 @@
// //
// TV3DManager.cpp // TV3DManager.cpp
// hifi // interface/src/devices
// //
// Created by Brad Hefta-Gaub on 12/24/13. // Created by Brad Hefta-Gaub on 12/24/13.
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved. // Copyright 2013 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include "InterfaceConfig.h" #include "InterfaceConfig.h"

View file

@ -1,9 +1,12 @@
// //
// Visage.cpp // Visage.cpp
// interface // interface/src/devices
// //
// Created by Andrzej Kapolka on 2/11/14. // Created by Andrzej Kapolka on 2/11/14.
// Copyright (c) 2014 High Fidelity, Inc. All rights reserved. // Copyright 2014 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include <QHash> #include <QHash>

View file

@ -1,9 +1,12 @@
// //
// LocationManager.cpp // LocationManager.cpp
// hifi // interface/src/location
// //
// Created by Stojce Slavkovski on 2/7/14. // Created by Stojce Slavkovski on 2/7/14.
// Copyright 2013 High Fidelity, Inc.
// //
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include "Application.h" #include "Application.h"

View file

@ -1,9 +1,12 @@
// //
// LocationManager.cpp // NamedLocation.cpp
// hifi // interface/src/location
// //
// Created by Stojce Slavkovski on 2/1/14. // Created by Stojce Slavkovski on 2/1/14.
// Copyright 2013 High Fidelity, Inc.
// //
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include "NamedLocation.h" #include "NamedLocation.h"

View file

@ -1,18 +1,11 @@
//
// Interface
// //
// Allows you to connect to and see/hear the shared 3D space. // main.cpp
// Optionally uses serialUSB connection to get gyro data for head movement. // interface/src
// Optionally gets UDP stream from transmitter to animate controller/hand.
//
// Usage: The interface client first attempts to contact a domain server to
// discover the appropriate audio, voxel, and avatar servers to contact.
// Right now, the default domain server is "highfidelity.below92.com"
// You can change the domain server to use your own by editing the
// DOMAIN_HOSTNAME or DOMAIN_IP strings in the file NodeList.cpp
// //
// Copyright 2013 High Fidelity, Inc.
// //
// Welcome Aboard! // Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include "Application.h" #include "Application.h"

View file

@ -1,9 +1,12 @@
// //
// AmbientOcclusionEffect.cpp // AmbientOcclusionEffect.cpp
// interface // interface/src/renderer
// //
// Created by Andrzej Kapolka on 7/14/13. // Created by Andrzej Kapolka on 7/14/13.
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved. // Copyright 2013 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
// include this before QOpenGLFramebufferObject, which includes an earlier version of OpenGL // include this before QOpenGLFramebufferObject, which includes an earlier version of OpenGL

View file

@ -1,9 +1,12 @@
// //
// FBXReader.cpp // FBXReader.cpp
// interface // interface/src/renderer
// //
// Created by Andrzej Kapolka on 9/18/13. // Created by Andrzej Kapolka on 9/18/13.
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved. // Copyright 2013 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include <iostream> #include <iostream>

View file

@ -1,9 +1,12 @@
// //
// GeometryCache.cpp // GeometryCache.cpp
// interface // interface/src/renderer
// //
// Created by Andrzej Kapolka on 6/21/13. // Created by Andrzej Kapolka on 6/21/13.
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved. // Copyright 2013 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include <cmath> #include <cmath>

View file

@ -1,9 +1,12 @@
// //
// GlowEffect.cpp // GlowEffect.cpp
// interface // interface/src/renderer
// //
// Created by Andrzej Kapolka on 8/7/13. // Created by Andrzej Kapolka on 8/7/13.
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved. // Copyright 2013 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
// include this before QOpenGLFramebufferObject, which includes an earlier version of OpenGL // include this before QOpenGLFramebufferObject, which includes an earlier version of OpenGL

View file

@ -1,9 +1,12 @@
// //
// Model.cpp // Model.cpp
// interface // interface/src/renderer
// //
// Created by Andrzej Kapolka on 10/18/13. // Created by Andrzej Kapolka on 10/18/13.
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved. // Copyright 2013 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include <QMetaType> #include <QMetaType>

View file

@ -1,9 +1,12 @@
// //
// PointShader.cpp // PointShader.cpp
// interface // interface/src/renderer
// //
// Created by Brad Hefta-Gaub on 10/30/13. // Created by Brad Hefta-Gaub on 10/30/13.
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved. // Copyright 2013 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
// include this before QOpenGLFramebufferObject, which includes an earlier version of OpenGL // include this before QOpenGLFramebufferObject, which includes an earlier version of OpenGL

View file

@ -1,9 +1,12 @@
// //
// ProgramObject.cpp // ProgramObject.cpp
// interface // interface/src/renderer
// //
// Created by Andrzej Kapolka on 5/7/13. // Created by Andrzej Kapolka on 5/7/13.
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved. // Copyright 2013 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include "ProgramObject.h" #include "ProgramObject.h"

View file

@ -1,9 +1,12 @@
// //
// RenderUtil.cpp // RenderUtil.cpp
// interface // interface/src/renderer
// //
// Created by Andrzej Kapolka on 8/15/13. // Created by Andrzej Kapolka on 8/15/13.
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved. // Copyright 2013 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include "InterfaceConfig.h" #include "InterfaceConfig.h"

View file

@ -1,9 +1,12 @@
// //
// TextureCache.cpp // TextureCache.cpp
// interface // interface/src/renderer
// //
// Created by Andrzej Kapolka on 8/6/13. // Created by Andrzej Kapolka on 8/6/13.
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved. // Copyright 2013 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
// include this before QGLWidget, which includes an earlier version of OpenGL // include this before QGLWidget, which includes an earlier version of OpenGL

View file

@ -1,9 +1,12 @@
// //
// VoxelShader.cpp // VoxelShader.cpp
// interface // interface/src/renderer
// //
// Created by Brad Hefta-Gaub on 9/22/13. // Created by Brad Hefta-Gaub on 9/22/13.
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved. // Copyright 2013 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
// include this before QOpenGLFramebufferObject, which includes an earlier version of OpenGL // include this before QOpenGLFramebufferObject, which includes an earlier version of OpenGL

View file

@ -1,9 +1,12 @@
// //
// AudioDeviceScriptingInterface.cpp // AudioDeviceScriptingInterface.cpp
// hifi // interface/src/scripting
// //
// Created by Brad Hefta-Gaub on 3/23/14 // Created by Brad Hefta-Gaub on 3/23/14.
// Copyright (c) 2014 HighFidelity, Inc. All rights reserved. // Copyright 2014 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include "Application.h" #include "Application.h"

View file

@ -1,8 +1,11 @@
// //
// ClipboardScriptingInterface.cpp // ClipboardScriptingInterface.cpp
// interface // interface/src/scripting
// //
// Copyright (c) 2014 High Fidelity, Inc. All rights reserved. // Copyright 2014 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include "Application.h" #include "Application.h"
@ -96,4 +99,4 @@ void ClipboardScriptingInterface::nudgeVoxel(float x, float y, float z, float s,
s / (float)TREE_SCALE }; s / (float)TREE_SCALE };
Application::getInstance()->nudgeVoxelsByVector(sourceVoxel, nudgeVecInTreeSpace); Application::getInstance()->nudgeVoxelsByVector(sourceVoxel, nudgeVecInTreeSpace);
} }

View file

@ -1,9 +1,12 @@
// //
// ControllerScriptingInterface.h // ControllerScriptingInterface.cpp
// hifi // interface/src/scripting
// //
// Created by Brad Hefta-Gaub on 12/17/13 // Created by Brad Hefta-Gaub on 12/17/13.
// Copyright (c) 2013 HighFidelity, Inc. All rights reserved. // Copyright 2013 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include <HandData.h> #include <HandData.h>

View file

@ -1,9 +1,12 @@
// //
// MenuScriptingInterface.cpp // MenuScriptingInterface.cpp
// hifi // interface/src/scripting
// //
// Created by Brad Hefta-Gaub on 2/25/14 // Created by Brad Hefta-Gaub on 2/25/14.
// Copyright (c) 2014 HighFidelity, Inc. All rights reserved. // Copyright 2014 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include "Application.h" #include "Application.h"

View file

@ -1,9 +1,12 @@
// //
// SettingsScriptingInterface.cpp // SettingsScriptingInterface.cpp
// hifi // interface/src/scripting
// //
// Created by Brad Hefta-Gaub on 2/25/14 // Created by Brad Hefta-Gaub on 2/25/14.
// Copyright (c) 2014 HighFidelity, Inc. All rights reserved. // Copyright 2014 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include "Application.h" #include "Application.h"

View file

@ -1,10 +1,12 @@
// //
// starfield/Controller.cpp // Controller.cpp
// interface // interface/src/starfield
// //
// Created by Chris Barnard on 10/16/13 // Created by Chris Barnard on 10/16/13.
// Portions of code based on earlier work by Tobias Schwinger. // Copyright 2013 High Fidelity, Inc.
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved. //
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#ifdef _WIN32 #ifdef _WIN32

View file

@ -1,9 +1,12 @@
// //
// starfield/Generator.cpp // Generator.cpp
// interface // interface/src/starfield
// //
// Created by Chris Barnard on 10/13/13. // Created by Chris Barnard on 10/13/13.
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved. // Copyright 2013 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#ifdef _WIN32 #ifdef _WIN32

View file

@ -1,10 +1,12 @@
// //
// starfield/data/GpuVertex.cpp // GpuVertex.cpp
// interface // interface/src/starfield/data
// //
// Created by Chris Barnard on 10/17/13. // Created by Chris Barnard on 10/17/13.
// Based on code by Tobias Schwinger on 3/29/13. // Copyright 2013 High Fidelity, Inc.
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved. //
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include "starfield/data/GpuVertex.h" #include "starfield/data/GpuVertex.h"

View file

@ -1,10 +1,12 @@
// //
// starfield/data/InputVertex.cpp // InputVertex.cpp
// interface // interface/src/starfield/data
// //
// Created by Chris Barnard on 10/17.13. // Created by Chris Barnard on 10/17.
// Based on code by Tobias Schwinger 3/29/13. // Copyright 2013 High Fidelity, Inc.
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved. //
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include "starfield/data/InputVertex.h" #include "starfield/data/InputVertex.h"

View file

@ -1,10 +1,12 @@
// //
// starfield/renderer/Renderer.cpp // Renderer.cpp
// interface // interface/src/starfield/renderer
// //
// Created by Chris Barnard on 10/17/13. // Created by Chris Barnard on 10/17/13.
// Based on earlier work by Tobias Schwinger 3/22/13. // Copyright 2013 High Fidelity, Inc.
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved. //
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include "starfield/renderer/Renderer.h" #include "starfield/renderer/Renderer.h"

View file

@ -1,11 +1,12 @@
// //
// starfield/renderer/VertexOrder.cpp // VertexOrder.cpp
// interface // interface/src/starfield/renderer
// //
// Created by Chris Barnard on 10/17/13. // Created by Chris Barnard on 10/17/13.
// Based on code by Tobias Schwinger on 3/22/13. // Copyright 2013 High Fidelity, Inc.
// //
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved. // Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include "starfield/renderer/VertexOrder.h" #include "starfield/renderer/VertexOrder.h"
@ -15,4 +16,4 @@ using namespace starfield;
bool VertexOrder::bit(InputVertex const& vertex, state_type const& state) const { bool VertexOrder::bit(InputVertex const& vertex, state_type const& state) const {
unsigned key = _tiling.getTileIndex(vertex.getAzimuth(), vertex.getAltitude()); unsigned key = _tiling.getTileIndex(vertex.getAzimuth(), vertex.getAltitude());
return base::bit(key, state); return base::bit(key, state);
} }

View file

@ -1,9 +1,12 @@
// //
// BandwidthDialog.h // BandwidthDialog.cpp
// interface // interface/src/ui
// //
// Created by Tobias Schwinger on 6/21/13. // Created by Tobias Schwinger on 6/21/13.
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved. // Copyright 2013 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include <cstdio> #include <cstdio>

View file

@ -1,9 +1,12 @@
// //
// BandwidthMeter.h // BandwidthMeter.cpp
// interface // interface/src/ui
// //
// Created by Tobias Schwinger on 6/20/13. // Created by Tobias Schwinger on 6/20/13.
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved. // Copyright 2013 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include <cstdio> #include <cstdio>

View file

@ -1,9 +1,12 @@
// //
// ChatWindow.cpp // ChatWindow.cpp
// interface // interface/src/ui
// //
// Created by Dimitar Dobrev on 3/6/14. // Created by Dimitar Dobrev on 3/6/14.
// Copyright (c) 2014 High Fidelity, Inc. All rights reserved. // Copyright 2014 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include <QGridLayout> #include <QGridLayout>

View file

@ -1,9 +1,12 @@
// //
// ImportDialog.cpp // ImportDialog.cpp
// hifi // interface/src/ui
// //
// Created by Clement Brisset on 8/12/13. // Created by Clement Brisset on 8/12/13.
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved. // Copyright 2013 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include "InterfaceConfig.h" #include "InterfaceConfig.h"

View file

@ -1,9 +1,12 @@
// //
// InfoView // InfoView.cpp
// hifi // interface/src/ui
// //
// Created by Stojce Slavkovski on 9/7/13. // Created by Stojce Slavkovski on 9/7/13.
// Copyright (c) 2013 HighFidelity, Inc. All rights reserved. // Copyright 2013 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include "InfoView.h" #include "InfoView.h"

View file

@ -1,9 +1,12 @@
// //
// LodToolsDialog.cpp // LodToolsDialog.cpp
// interface // interface/src/ui
// //
// Created by Brad Hefta-Gaub on 7/19/13. // Created by Brad Hefta-Gaub on 7/19/13.
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved. // Copyright 2013 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include <QFormLayout> #include <QFormLayout>

View file

@ -1,9 +1,12 @@
// //
// LogDialog.cpp // LogDialog.cpp
// interface // interface/src/ui
// //
// Created by Stojce Slavkovski on 12/12/13. // Created by Stojce Slavkovski on 12/12/13.
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved. // Copyright 2013 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include "InterfaceConfig.h" #include "InterfaceConfig.h"

View file

@ -1,9 +1,12 @@
// //
// MetavoxelEditor.cpp // MetavoxelEditor.cpp
// interface // interface/src/ui
// //
// Created by Andrzej Kapolka on 1/21/14. // Created by Andrzej Kapolka on 1/21/14.
// Copyright (c) 2014 High Fidelity, Inc. All rights reserved. // Copyright 2014 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
// include this before QOpenGLFramebufferObject, which includes an earlier version of OpenGL // include this before QOpenGLFramebufferObject, which includes an earlier version of OpenGL

View file

@ -1,9 +1,12 @@
// //
// ModelsBrowser.cpp // ModelsBrowser.cpp
// hifi // interface/src/ui
// //
// Created by Clement on 3/17/14. // Created by Clement on 3/17/14.
// Copyright (c) 2014 HighFidelity, Inc. All rights reserved. // Copyright 2014 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include <QDialog> #include <QDialog>

View file

@ -1,9 +1,12 @@
// //
// OctreeStatsDialog.cpp // OctreeStatsDialog.cpp
// interface // interface/src/ui
// //
// Created by Brad Hefta-Gaub on 7/19/13. // Created by Brad Hefta-Gaub on 7/19/13.
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved. // Copyright 2013 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include <sstream> #include <sstream>

View file

@ -1,9 +1,12 @@
// //
// Oscilloscope.cpp // Oscilloscope.cpp
// interface // interface/src/ui
// //
// Created by Philip on 1/28/13. // Created by Philip on 1/28/13.
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved. // Copyright 2013 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include <limits> #include <limits>

View file

@ -1,9 +1,12 @@
// //
// RearMirrorTools.cpp // RearMirrorTools.cpp
// interface // interface/src/ui
// //
// Created by stojce on 23.10.2013. // Created by stojce on 23.
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved. // Copyright 2013 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include "InterfaceConfig.h" #include "InterfaceConfig.h"

View file

@ -1,9 +1,12 @@
// //
// RunningScripts.cpp // RunningScriptsWidget.cpp
// interface // interface/src/ui
// //
// Created by Mohammed Nafees on 03/28/2014. // Created by Mohammed Nafees on 03/28/2014.
// Copyright (c) 2014 High Fidelity, Inc. All rights reserved. // Copyright 2014 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include "ui_runningScriptsWidget.h" #include "ui_runningScriptsWidget.h"

View file

@ -1,9 +1,12 @@
// //
// Snapshot.cpp // Snapshot.cpp
// hifi // interface/src/ui
// //
// Created by Stojce Slavkovski on 1/26/14. // Created by Stojce Slavkovski on 1/26/14.
// Copyright (c) 2014 High Fidelity, Inc. All rights reserved. // Copyright 2014 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include <QDateTime> #include <QDateTime>

View file

@ -1,9 +1,12 @@
// //
// Stats.cpp // Stats.cpp
// interface // interface/src/ui
// //
// Created by Lucas Crisman on 22/03/14. // Created by Lucas Crisman on 22/03/14.
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved // Copyright 2013 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include <sstream> #include <sstream>

View file

@ -1,9 +1,12 @@
// //
// TextRenderer.cpp // TextRenderer.cpp
// interface // interface/src/ui
// //
// Created by Andrzej Kapolka on 4/24/13. // Created by Andrzej Kapolka on 4/24/13.
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved. // Copyright 2013 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include <QFont> #include <QFont>

View file

@ -1,9 +1,11 @@
// //
// UpdateDialog.cpp // UpdateDialog.cpp
// interface // interface/src/ui
// //
// Created by Leonardo Murillo <leo@highfidelity.io> on 1/8/14. // Copyright 2014 High Fidelity, Inc.
// Copyright (c) 2013, 2014 High Fidelity, Inc. All rights reserved. //
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include "Application.h" // HACK ATTACK WARNING: for windows build to work, we need this ahead of QtGui #include "Application.h" // HACK ATTACK WARNING: for windows build to work, we need this ahead of QtGui
@ -49,4 +51,4 @@ void UpdateDialog::handleDownload() {
void UpdateDialog::handleSkip() { void UpdateDialog::handleSkip() {
Application::getInstance()->skipVersion(_latestVersion); Application::getInstance()->skipVersion(_latestVersion);
this->close(); this->close();
} }

View file

@ -1,8 +1,11 @@
// //
// Base3DOverlay.cpp // Base3DOverlay.cpp
// interface // interface/src/ui/overlays
// //
// Copyright (c) 2014 High Fidelity, Inc. All rights reserved. // Copyright 2014 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
// include this before QGLWidget, which includes an earlier version of OpenGL // include this before QGLWidget, which includes an earlier version of OpenGL

View file

@ -1,8 +1,11 @@
// //
// Cube3DOverlay.cpp // Cube3DOverlay.cpp
// interface // interface/src/ui/overlays
// //
// Copyright (c) 2014 High Fidelity, Inc. All rights reserved. // Copyright 2014 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
// include this before QGLWidget, which includes an earlier version of OpenGL // include this before QGLWidget, which includes an earlier version of OpenGL

View file

@ -1,8 +1,11 @@
// //
// ImageOverlay.cpp // ImageOverlay.cpp
// interface // interface/src/ui/overlays
// //
// Copyright (c) 2014 High Fidelity, Inc. All rights reserved. // Copyright 2014 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
// include this before QGLWidget, which includes an earlier version of OpenGL // include this before QGLWidget, which includes an earlier version of OpenGL

View file

@ -1,8 +1,11 @@
// //
// Line3DOverlay.cpp // Line3DOverlay.cpp
// interface // interface/src/ui/overlays
// //
// Copyright (c) 2014 High Fidelity, Inc. All rights reserved. // Copyright 2014 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
// include this before QGLWidget, which includes an earlier version of OpenGL // include this before QGLWidget, which includes an earlier version of OpenGL

View file

@ -1,9 +1,12 @@
// //
// LocalVoxelsOverlay.cpp // LocalVoxelsOverlay.cpp
// hifi // interface/src/ui/overlays
// //
// Created by Clément Brisset on 2/28/14. // Created by Clément Brisset on 2/28/14.
// Copyright (c) 2014 High Fidelity, Inc. All rights reserved. // Copyright 2014 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
// include this before QGLWidget, which includes an earlier version of OpenGL // include this before QGLWidget, which includes an earlier version of OpenGL

View file

@ -1,8 +1,11 @@
// //
// Overlay.cpp // Overlay.cpp
// interface // interface/src/ui/overlays
// //
// Copyright (c) 2014 High Fidelity, Inc. All rights reserved. // Copyright 2014 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
// include this before QGLWidget, which includes an earlier version of OpenGL // include this before QGLWidget, which includes an earlier version of OpenGL

View file

@ -1,8 +1,11 @@
// //
// Overlay2D.cpp // Overlay2D.cpp
// interface // interface/src/ui/overlays
// //
// Copyright (c) 2014 High Fidelity, Inc. All rights reserved. // Copyright 2014 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
// include this before QGLWidget, which includes an earlier version of OpenGL // include this before QGLWidget, which includes an earlier version of OpenGL

View file

@ -1,8 +1,11 @@
// //
// Overlays.cpp // Overlays.cpp
// interface // interface/src/ui/overlays
// //
// Copyright (c) 2014 High Fidelity, Inc. All rights reserved. // Copyright 2014 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //

View file

@ -1,8 +1,11 @@
// //
// Sphere3DOverlay.cpp // Sphere3DOverlay.cpp
// interface // interface/src/ui/overlays
// //
// Copyright (c) 2014 High Fidelity, Inc. All rights reserved. // Copyright 2014 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
// include this before QGLWidget, which includes an earlier version of OpenGL // include this before QGLWidget, which includes an earlier version of OpenGL

Some files were not shown because too many files have changed in this diff Show more