Panda3D
 All Classes Functions Variables Enumerations
patcher.I
1 // Filename: patcher.I
2 // Created by: darren (20Dec00)
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 ////////////////////////////////////////////////////////////////////
16 // Function: Patcher::get_progress
17 // Access: Public
18 // Description:
19 ////////////////////////////////////////////////////////////////////
20 INLINE PN_stdfloat Patcher::
21 get_progress() const {
22  if(_patchfile) {
23  return _patchfile->get_progress();
24  }
25 
26  return 0.0;
27 }