diff options
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/src/main.cpp b/src/main.cpp index fe0bfb09c..da727811e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2245,14 +2245,7 @@ int main(int argc, char *argv[]) {
//TimeTaker timer9("auxiliary drawings");
// 0ms
-
- driver->draw2DLine(displaycenter - core::vector2d<s32>(10,0),
- displaycenter + core::vector2d<s32>(10,0),
- video::SColor(255,255,255,255));
- driver->draw2DLine(displaycenter - core::vector2d<s32>(0,10),
- displaycenter + core::vector2d<s32>(0,10),
- video::SColor(255,255,255,255));
-
+
//timer9.stop();
//TimeTaker //timer10("//timer10");
@@ -2274,6 +2267,16 @@ int main(int argc, char *argv[]) driver->draw3DBox(*i, video::SColor(255,0,0,0));
}
+ /*
+ Draw crosshair
+ */
+ driver->draw2DLine(displaycenter - core::vector2d<s32>(10,0),
+ displaycenter + core::vector2d<s32>(10,0),
+ video::SColor(255,255,255,255));
+ driver->draw2DLine(displaycenter - core::vector2d<s32>(0,10),
+ displaycenter + core::vector2d<s32>(0,10),
+ video::SColor(255,255,255,255));
+
}
//timer10.stop();
|