Commit d4016dd1 authored by Georg Schaefer's avatar Georg Schaefer
Browse files

fix jump in texture offset of beam

parent 457dddce
......@@ -692,7 +692,7 @@ namespace gdw {
static float accumulated_time_stripes = 0.f;
accumulated_time_stripes += delta_time;
if (accumulated_time_stripes >= beam_length_ / 4.f) {
if (accumulated_time_stripes / 2.f >= beam_length_ / 4.f) {
accumulated_time_stripes = 0.f;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment