source: GTP/trunk/App/Demos/Vis/FriendlyCulling/src/Pvs.cpp @ 3285

Revision 3285, 419 bytes checked in by mattausch, 16 years ago (diff)

working on viz for submission

Line 
1#include "Pvs.h"
2#include "Timer/PerfTimer.h"
3#include <iostream>
4
5
6namespace CHCDemoEngine
7{
8
9
10bool operator<(const PvsEntry &a, const PvsEntry &b)
11{
12#ifdef USE_TIMESTAMPS
13        return a.mTimeStamp < b.mTimeStamp;
14#else
15        return true;
16#endif
17}
18
19
20void Pvs::Clear()
21{
22        mEntries.clear();
23}
24
25
26bool Pvs::Empty() const
27{
28        return mEntries.empty();
29}
30
31
32void Pvs::Sort()
33{
34        // TODO
35}
36
37
38
39}
Note: See TracBrowser for help on using the repository browser.