15 #include "config_distort.h" 16 #include "cylindricalLens.h" 17 #include "fisheyeLens.h" 18 #include "pSphereLens.h" 19 #include "oSphereLens.h" 20 #include "projectionScreen.h" 24 Configure(config_distort);
25 NotifyCategoryDef(distort,
"");
27 ConfigureFn(config_distort) {
32 (
"project-invert-uvs",
false,
33 PRC_DESC(
"If this is true, the UV's generated by all ProjectionScreens are " 34 "inverted top-to-bottom. This used to be required to compensate " 35 "for buggy graphics drivers that rendered to a texture upside-down " 36 "in this manner, but nowadays Panda should be able to autodetect " 37 "these graphics drivers. If it fails to do this, you should " 38 "probably set copy-texture-inverted instead, which is more general."));
50 static bool initialized =
false;
56 CylindricalLens::init_type();
57 FisheyeLens::init_type();
58 PSphereLens::init_type();
59 OSphereLens::init_type();
60 ProjectionScreen::init_type();
This is a convenience class to specialize ConfigVariable as a boolean type.