Explorar o código

Nothing worth mentioning

Panagiotis Christopoulos Charitos %!s(int64=15) %!d(string=hai) anos
pai
achega
dc6ad1711c
Modificáronse 3 ficheiros con 344 adicións e 380 borrados
  1. 339 377
      build/debug/Makefile
  2. 2 0
      src/Renderer2/Dbg.cpp
  3. 3 3
      src/Renderer2/Renderer.cpp

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 339 - 377
build/debug/Makefile


+ 2 - 0
src/Renderer2/Dbp.cpp → src/Renderer2/Dbg.cpp

@@ -50,6 +50,8 @@ void Renderer::Dbg::init()
 //=====================================================================================================================================
 void Renderer::Dbg::run()
 {
+	if( !enabled ) return;
+
 	const Camera& cam = *r.cam;
 
 	fbo.bind();

+ 3 - 3
src/Renderer2/Renderer.cpp

@@ -17,12 +17,12 @@ float Renderer::quadVertCoords [][2] = { {1.0,1.0}, {0.0,1.0}, {0.0,0.0}, {1.0,0
 // Constructor                                                                                                                        =
 //=====================================================================================================================================
 Renderer::Renderer():
+	width( 640 ),
+	height( 480 ),
 	ms( *this ),
 	is( *this ),
 	pps( *this ),
-	dbg( *this ),
-	width( 640 ),
-	height( 480 )
+	dbg( *this )
 {
 }
 

Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio