linux fixes, bugfixes, comments

This commit is contained in:
Irlan Robson
2016-12-21 19:15:43 -02:00
parent 1672673839
commit 81f744b805
149 changed files with 2371 additions and 3413 deletions

View File

@@ -19,8 +19,8 @@
#ifndef QH_HULL_H
#define QH_HULL_H
#include <bounce\common\geometry.h>
#include <bounce\common\template\array.h>
#include <bounce/common/geometry.h>
#include <bounce/common/template/array.h>
template<class T>
struct qhList

View File

@@ -3,7 +3,7 @@
template<class T>
inline void qhList<T>::PushFront(T* link)
{
link->prev = nullptr;
link->prev = NULL;
link->next = head;
if (head)
{
@@ -31,8 +31,8 @@ inline T* qhList<T>::Remove(T* link)
head = link->next;
}
link->prev = nullptr;
link->next = nullptr;
link->prev = NULL;
link->next = NULL;
--count;
return next;
@@ -78,7 +78,7 @@ inline qhHalfEdge* qhFace::FindTwin(const qhVertex* tail, const qhVertex* head)
e = e->next;
} while (e != edge);
return nullptr;
return NULL;
}
inline b3Vec3 b3Newell(const b3Vec3& a, const b3Vec3& b)
@@ -128,7 +128,7 @@ inline qhHalfEdge* qhHull::FindTwin(const qhVertex* tail, const qhVertex* head)
}
face = face->next;
}
return nullptr;
return NULL;
}
inline u32 qhGetMemorySize(u32 V)