moved some print statements

This commit is contained in:
Asad M. Zaman 2004-09-16 01:31:33 +00:00
parent c3fc66631f
commit c6ab058556
1 changed files with 0 additions and 10 deletions

View File

@ -165,16 +165,7 @@ do_poly_light(const NodePath & root, const CullTraverserData *data, const Transf
dist = xz.length(); // this does not count height difference
}
if (polylight_info) {
pgraph_cat.debug() << "light's position = " << light->get_pos() << endl;
pgraph_cat.debug() << "relative position = " << point << endl;
pgraph_cat.debug() << "effect center = " << _effect_center << endl;
//pgraph_cat.info() << "close to this light = " << light->get_name() << endl;
pgraph_cat.info() << "dist = " << dist << ";radius = " << light_radius << endl;
}
if (dist <= light_radius) { // If node is in range of this light
/*
if (polylight_info) {
pgraph_cat.debug() << "light's position = " << light->get_pos() << endl;
pgraph_cat.debug() << "relative position = " << point << endl;
@ -182,7 +173,6 @@ do_poly_light(const NodePath & root, const CullTraverserData *data, const Transf
//pgraph_cat.info() << "close to this light = " << light->get_name() << endl;
pgraph_cat.info() << "dist = " << dist << ";radius = " << light_radius << endl;
}
*/
PolylightNode::Attenuation_Type light_attenuation = light->get_attenuation();
Colorf light_color;