diff options
Diffstat (limited to 'src/gui/tracers.cpp')
-rw-r--r-- | src/gui/tracers.cpp | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/gui/tracers.cpp b/src/gui/tracers.cpp new file mode 100644 index 000000000..74c37b4e8 --- /dev/null +++ b/src/gui/tracers.cpp @@ -0,0 +1,26 @@ +/* +Dragonfire +Copyright (C) 2020 Elias Fleckenstein <eliasfleckenstein@web.de> + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU Lesser General Public License as published by +the Free Software Foundation; either version 2.1 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +*/ + +#include "tracers.h" +#include "constants.h" + +void Tracers::draw(video::IVideoDriver* driver) +{ + driver->draw3DLine(v3f(0, 0, 0) * BS, v3f(1, 1, 1) * BS, video::SColor(255, 0, 0, 0)); +} |