summaryrefslogtreecommitdiff
path: root/src/util.cpp
diff options
context:
space:
mode:
authorAleks Kissinger <aleks0@gmail.com>2018-05-07 13:21:59 +0200
committerAleks Kissinger <aleks0@gmail.com>2018-05-07 13:21:59 +0200
commitd7f0b3e19fddc89fd22692847e9d840023d2b7f3 (patch)
tree762f48cb637eef334cf7f6320fe13b7988bc53e3 /src/util.cpp
parentb00c5250d7a56b6d20980d89cf331a114fdfdee0 (diff)
GPLed
Diffstat (limited to 'src/util.cpp')
-rw-r--r--src/util.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/util.cpp b/src/util.cpp
index 5e56cd9..9c699f5 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -1,3 +1,21 @@
+/*
+ TikZiT - a GUI diagram editor for TikZ
+ Copyright (C) 2018 Aleks Kissinger
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 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 General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
+*/
+
#include "util.h"
float bezierInterpolate(float dist, float c0, float c1, float c2, float c3) {