aboutsummaryrefslogtreecommitdiff
path: root/cWiremesh.h
diff options
context:
space:
mode:
authorGravatar jonas <himself@jonasgunz.de> 2019-01-21 19:10:15 +0100
committerGravatar jonas <himself@jonasgunz.de> 2019-01-21 19:10:15 +0100
commitb8aa898b1f3182d028a67c39d8643b331c565053 (patch)
tree27a3f5cfec680df457b3000f79d07b8ba81e7870 /cWiremesh.h
parente2063723f9dcd32cabd5f2441228fd1539799a75 (diff)
downloadtermgl-b8aa898b1f3182d028a67c39d8643b331c565053.tar.gz
started rotate()
Diffstat (limited to 'cWiremesh.h')
-rw-r--r--cWiremesh.h6
1 files changed, 6 insertions, 0 deletions
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<sVector> vectors;
};