mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-08-23 03:00:42 +02:00
fixed some warnings
This commit is contained in:
parent
8d7406461a
commit
d2faca9767
3 changed files with 3 additions and 4 deletions
|
@ -20,7 +20,7 @@
|
|||
class AABoundingVolume
|
||||
{
|
||||
public:
|
||||
AABoundingVolume() : _isSingleDirectionSet(false), _numPointsInSet(0) { memset(_bounds,0,sizeof(_bounds)); }
|
||||
AABoundingVolume() : _numPointsInSet(0), _isSingleDirectionSet(false) { memset(_bounds,0,sizeof(_bounds)); }
|
||||
~AABoundingVolume(){}
|
||||
|
||||
void AddToSet(const glm::vec3 newPt)
|
||||
|
|
|
@ -28,7 +28,6 @@ GLubyte SvoViewer::SetupGlVBO(GLuint * id, int sizeInBytes, GLenum target, GLenu
|
|||
|
||||
bool SvoViewer::FindNumLeaves(OctreeElement* node, void* extraData)
|
||||
{
|
||||
VoxelTreeElement* voxel = (VoxelTreeElement*)node;
|
||||
FindNumLeavesData* args = (FindNumLeavesData*)extraData;
|
||||
if (node->isLeaf()) args->numLeaves++;
|
||||
return true;
|
||||
|
|
|
@ -77,8 +77,8 @@ Resource::Resource(const QUrl& url, bool delayLoad) :
|
|||
_request(url),
|
||||
_startedLoading(false),
|
||||
_failedToLoad(false),
|
||||
_attempts(0),
|
||||
_reply(NULL) {
|
||||
_reply(NULL),
|
||||
_attempts(0) {
|
||||
|
||||
if (!url.isValid()) {
|
||||
_startedLoading = _failedToLoad = true;
|
||||
|
|
Loading…
Reference in a new issue