Fix two compilation errors
This commit is contained in:
parent
a0800ac33d
commit
2fc8beaa77
|
@ -105,6 +105,7 @@ inline int EdgeEPA::getIndex() const {
|
||||||
inline EdgeEPA& EdgeEPA::operator=(const EdgeEPA& edge) {
|
inline EdgeEPA& EdgeEPA::operator=(const EdgeEPA& edge) {
|
||||||
mOwnerTriangle = edge.mOwnerTriangle;
|
mOwnerTriangle = edge.mOwnerTriangle;
|
||||||
mIndex = edge.mIndex;
|
mIndex = edge.mIndex;
|
||||||
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Return the index of the next counter-clockwise edge of the ownver triangle
|
// Return the index of the next counter-clockwise edge of the ownver triangle
|
||||||
|
|
|
@ -153,7 +153,7 @@ inline void Timer::start() {
|
||||||
LARGE_INTEGER ticks;
|
LARGE_INTEGER ticks;
|
||||||
QueryPerformanceFrequency(&ticksPerSecond);
|
QueryPerformanceFrequency(&ticksPerSecond);
|
||||||
QueryPerformanceCounter(&ticks);
|
QueryPerformanceCounter(&ticks);
|
||||||
lastUpdateTime = double(ticks.QuadPart) / double(ticksPerSecond.QuadPart);
|
mLastUpdateTime = double(ticks.QuadPart) / double(ticksPerSecond.QuadPart);
|
||||||
#else
|
#else
|
||||||
// Initialize the lastUpdateTime with the current time in seconds
|
// Initialize the lastUpdateTime with the current time in seconds
|
||||||
timeval timeValue;
|
timeval timeValue;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user