aboutsummaryrefslogtreecommitdiff
path: root/cWiremesh.h
diff options
context:
space:
mode:
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;
};