aboutsummaryrefslogtreecommitdiff
path: root/AutopyExtended/Curve/CurveLinear.py
diff options
context:
space:
mode:
Diffstat (limited to 'AutopyExtended/Curve/CurveLinear.py')
-rw-r--r--AutopyExtended/Curve/CurveLinear.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/AutopyExtended/Curve/CurveLinear.py b/AutopyExtended/Curve/CurveLinear.py
deleted file mode 100644
index bee70cc..0000000
--- a/AutopyExtended/Curve/CurveLinear.py
+++ /dev/null
@@ -1,10 +0,0 @@
-import numpy as np
-import Curve
-
-class CurveLinear(Curve):
- def __init__(self, start, end):
- self.__start = np.array(start)
- self.__end = np.array(end)
- def point(self, t, t_target):
- d = np.subtract(self.__end, self.__start)
- return np.add(self.__start, (round(d[0] * t / t_target), round(d[1] * t / t_target)))