From b8aa898b1f3182d028a67c39d8643b331c565053 Mon Sep 17 00:00:00 2001 From: jonas Date: Mon, 21 Jan 2019 19:10:15 +0100 Subject: started rotate() --- cWiremesh.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'cWiremesh.h') diff --git a/cWiremesh.h b/cWiremesh.h index 37df740..0bdfbdb 100644 --- a/cWiremesh.h +++ b/cWiremesh.h @@ -7,6 +7,8 @@ #define _DEPTH 99 +#define PI 3.14159265 + struct sCoord3d { int x; @@ -71,7 +73,11 @@ private: sPos translate(sCoord3d _coord, sCoord3d _origin); + sCoord3d applyRotation(sCoord3d _vector, sCoord3d _angle); + sCoord3d position; + sCoord3d angle; + std::vector vectors; }; -- cgit v1.2.3