23 #if !defined(CPPPARSER) && !defined(LINK_ALL_STATIC) && !defined(BUILDING_PANDAFX)
24 #error Buildsystem error: BUILDING_PANDAFX not defined
27 Configure(config_distort);
28 NotifyCategoryDef(distort,
"");
30 ConfigureFn(config_distort) {
35 (
"project-invert-uvs",
false,
36 PRC_DESC(
"If this is true, the UV's generated by all ProjectionScreens are "
37 "inverted top-to-bottom. This used to be required to compensate "
38 "for buggy graphics drivers that rendered to a texture upside-down "
39 "in this manner, but nowadays Panda should be able to autodetect "
40 "these graphics drivers. If it fails to do this, you should "
41 "probably set copy-texture-inverted instead, which is more general."));
51 static bool initialized =
false;
57 CylindricalLens::init_type();
58 FisheyeLens::init_type();
59 PSphereLens::init_type();
60 OSphereLens::init_type();
61 ProjectionScreen::init_type();