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) {
|
||||
mOwnerTriangle = edge.mOwnerTriangle;
|
||||
mIndex = edge.mIndex;
|
||||
return *this;
|
||||
}
|
||||
|
||||
// Return the index of the next counter-clockwise edge of the ownver triangle
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user