mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 09:23:03 -04:00
fix gcc compiler warning
This commit is contained in:
parent
b5cf90cf1e
commit
aa80a45ed2
@ -136,7 +136,7 @@ do_poly_light(const SceneSetup *scene, const CullTraverserData *data, const Tran
|
|||||||
float min_dist; // hold the dist from light that avatar is closer to
|
float min_dist; // hold the dist from light that avatar is closer to
|
||||||
int num_lights = 0; // Keep track of number of lights for division
|
int num_lights = 0; // Keep track of number of lights for division
|
||||||
float light_scale; // Variable to calculate attenuation
|
float light_scale; // Variable to calculate attenuation
|
||||||
float weight_scale; // Variable to compensate snap of color when you walk inside the light volume
|
float weight_scale = 1.0f; // Variable to compensate snap of color when you walk inside the light volume
|
||||||
float Rcollect, Gcollect, Bcollect;
|
float Rcollect, Gcollect, Bcollect;
|
||||||
|
|
||||||
PStatTimer timer(_cull_pcollector);
|
PStatTimer timer(_cull_pcollector);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user