]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/common/triggers/misc/laser.qh
misc_laser: .active instead of .state, replace magic numbers
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / triggers / misc / laser.qh
1 #pragma once
2 #include "../spawnflags.qh"
3
4
5 .vector beam_color;
6
7 const float LASER_BEAM_MAXLENGTH = 32768; // maximum length of a beam trace
8 // TODO: find a better way to do this
9 const float LASER_BEAM_MAXWORLDSIZE = 1048576; // to make sure the endpoint of the beam is not visible inside