Panda3D
pStatCollectorForward.cxx
1 // Filename: pStatCollectorForward.cxx
2 // Created by: drose (30Oct06)
3 //
4 ////////////////////////////////////////////////////////////////////
5 //
6 // PANDA 3D SOFTWARE
7 // Copyright (c) Carnegie Mellon University. All rights reserved.
8 //
9 // All use of this software is subject to the terms of the revised BSD
10 // license. You should have received a copy of this license along
11 // with this source code in a file named "LICENSE."
12 //
13 ////////////////////////////////////////////////////////////////////
14 
15 #include "pStatCollectorForward.h"
16 
17 #ifdef DO_PSTATS
18 ////////////////////////////////////////////////////////////////////
19 // Function: PStatCollectorForward::add_level
20 // Access: Public, Virtual
21 // Description:
22 ////////////////////////////////////////////////////////////////////
23 void PStatCollectorForward::
24 add_level(double increment) {
25  _col.add_level_now(increment);
26 }
27 #endif // DO_PSTATS
28