Fix two compilation errors

This commit is contained in:
Daniel Chappuis 2012-12-11 23:09:54 +01:00
parent a0800ac33d
commit 2fc8beaa77
2 changed files with 2 additions and 1 deletions

View File

@ -105,6 +105,7 @@ inline int EdgeEPA::getIndex() const {
inline EdgeEPA& EdgeEPA::operator=(const EdgeEPA& edge) {
mOwnerTriangle = edge.mOwnerTriangle;
mIndex = edge.mIndex;
return *this;
}
// Return the index of the next counter-clockwise edge of the ownver triangle

View File

@ -153,7 +153,7 @@ inline void Timer::start() {
LARGE_INTEGER ticks;
QueryPerformanceFrequency(&ticksPerSecond);
QueryPerformanceCounter(&ticks);
lastUpdateTime = double(ticks.QuadPart) / double(ticksPerSecond.QuadPart);
mLastUpdateTime = double(ticks.QuadPart) / double(ticksPerSecond.QuadPart);
#else
// Initialize the lastUpdateTime with the current time in seconds
timeval timeValue;