Panda3D
pandatool
src
pfmprogs
config_pfmprogs.cxx
Go to the documentation of this file.
1
/**
2
* PANDA 3D SOFTWARE
3
* Copyright (c) Carnegie Mellon University. All rights reserved.
4
*
5
* All use of this software is subject to the terms of the revised BSD
6
* license. You should have received a copy of this license along
7
* with this source code in a file named "LICENSE."
8
*
9
* @file config_pfmprogs.cxx
10
* @author drose
11
* @date 2010-12-23
12
*/
13
14
#include "
config_pfmprogs.h
"
15
16
#include "
dconfig.h
"
17
18
Configure(config_pfmprogs);
19
NotifyCategoryDef(pfm,
""
);
20
21
ConfigVariableDouble
pfm_bba_dist
22
(
"pfm-bba-dist"
,
"0.2 0.05"
,
23
PRC_DESC(
"Specifies the point_dist and sample_radius, in UV space, for "
24
"compute bba files with pfm_trans."
));
25
26
ConfigureFn(config_pfmprogs) {
27
init_libpfm
();
28
}
29
30
/**
31
* Initializes the library. This must be called at least once before any of
32
* the functions or classes in this library can be used. Normally it will be
33
* called by the static initializers and need not be called explicitly, but
34
* special cases exist.
35
*/
36
void
37
init_libpfm
() {
38
static
bool
initialized =
false
;
39
if
(initialized) {
40
return
;
41
}
42
initialized =
true
;
43
}
init_libpfm
void init_libpfm()
Initializes the library.
Definition:
config_pfmprogs.cxx:37
dconfig.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
config_pfmprogs.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
ConfigVariableDouble
This is a convenience class to specialize ConfigVariable as a floating- point type.
Definition:
configVariableDouble.h:24
Generated on Sat Jan 11 2020 15:15:40 for Panda3D by
1.8.17