Panda3D
Loading...
Searching...
No Matches
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
18Configure(config_pfmprogs);
19NotifyCategoryDef(pfm, "");
20
21ConfigVariableDouble 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
26ConfigureFn(config_pfmprogs) {
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 */
36void
38 static bool initialized = false;
39 if (initialized) {
40 return;
41 }
42 initialized = true;
43}
This is a convenience class to specialize ConfigVariable as a floating- point type.
void init_libpfm()
Initializes the library.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.