diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2019-03-20 12:32:04 +0100 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2019-03-20 12:32:04 +0100 |
commit | 58f4e95113ecbb745161d5d520b4afb00b0e5abf (patch) | |
tree | 862aebbbabd7f4331027fb6204196af23faa5ea9 /example | |
parent | 9bd58022bff2b0cb5f52112cfa2058c2b2fd4154 (diff) | |
download | termgl-58f4e95113ecbb745161d5d520b4afb00b0e5abf.tar.gz |
Remove obsolete features, cleanup
Diffstat (limited to 'example')
-rw-r--r-- | example/3d.cpp | 2 | ||||
-rw-r--r-- | example/collision.cpp | 2 | ||||
-rw-r--r-- | example/pong.cpp | 4 | ||||
-rw-r--r-- | example/test.cpp | 2 |
4 files changed, 4 insertions, 6 deletions
diff --git a/example/3d.cpp b/example/3d.cpp index 11a2d3d..e488da1 100644 --- a/example/3d.cpp +++ b/example/3d.cpp @@ -39,7 +39,7 @@ private: int main(int argc, char* argv[]) { - cRender render(' ', _COL_DEFAULT, 30,30); + cRender render(' ', _COL_DEFAULT); cObjectHandler handler(&render); cObject ver(45,1); cWiremesh obj; diff --git a/example/collision.cpp b/example/collision.cpp index 4084809..e46c423 100644 --- a/example/collision.cpp +++ b/example/collision.cpp @@ -47,7 +47,7 @@ private: int main(int argc, char* argv[]) { - cRender render(' ', _COL_DEFAULT, 30,30); + cRender render(' ', _COL_DEFAULT); cObjectHandler handler(&render); cObject ver(45,1); testobject obj2; diff --git a/example/pong.cpp b/example/pong.cpp index a42bb55..4524869 100644 --- a/example/pong.cpp +++ b/example/pong.cpp @@ -22,7 +22,6 @@ public: sPos getV() { return v; } private: sPos v; - }; class bar : public cObject @@ -50,7 +49,7 @@ public: int main() { - cRender render(' ', _COL_DEFAULT, 10,10); + cRender render(' ', _COL_DEFAULT); cObjectHandler screen(&render); cInput input; @@ -91,7 +90,6 @@ int main() while(1) { - sInputEvent ie = input.poll(); if(ie.type != _EVENT_NULL) diff --git a/example/test.cpp b/example/test.cpp index ca6f38e..7c1e3a0 100644 --- a/example/test.cpp +++ b/example/test.cpp @@ -39,7 +39,7 @@ public: int main() { - cRender render(' ', _COL_DEFAULT, 10,10); + cRender render(' ', _COL_DEFAULT); cObjectHandler screen(&render); cInput input; |