aboutsummaryrefslogtreecommitdiff
path: root/cObject3D.h
diff options
context:
space:
mode:
authorGravatar jonas <himself@jonasgunz.de> 2019-01-12 21:36:30 +0100
committerGravatar jonas <himself@jonasgunz.de> 2019-01-12 21:36:30 +0100
commit5d0b6dd79722707afb15642cc8523b36a6391e0d (patch)
treee7045bb0d5c2b25bbb4a2903ebb044c30b1b55d7 /cObject3D.h
parent91e4ffec239c198c9c4652dc50812165813fe79f (diff)
downloadtermgl-5d0b6dd79722707afb15642cc8523b36a6391e0d.tar.gz
changed to cWiremesh, removed inherit, cWiremesh now directly writes to renderer
Things get funky when x > origin.x ?!?
Diffstat (limited to 'cObject3D.h')
-rw-r--r--cObject3D.h50
1 files changed, 0 insertions, 50 deletions
diff --git a/cObject3D.h b/cObject3D.h
deleted file mode 100644
index 481b9a1..0000000
--- a/cObject3D.h
+++ /dev/null
@@ -1,50 +0,0 @@
-#pragma once
-
-#include <vector>
-
-#include "cObject.h"
-
-#define _DEPTH 50
-
-struct sCoord3d
-{
- int x;
- int y;
- int z;
-};
-
-struct sVector
-{
- sCoord3d origin;
- sCoord3d direction;
-
- char c;
- WORD color;
-};
-
-class cObject3D : cObject
-{
-public:
-
- cObject3D(unsigned int _sx, unsigned int _sy);
-
- virtual ~cObject3D();
-
- void addVector(sCoord3d _origin, sCoord3d _vector, char _char, WORD _color);
-
- void rotate(sCoord3d _val);
-
- void reset();
-
- void write();
-
-protected:
-
- cObject3D(){}
-
-private:
-
- sPos translate(sCoord3d _coord);
-
- std::vector<sVector> vectors;
-};