Turn off scene node transform gizmos
parent
59a4bb2a20
commit
8db797f0a1
2
Makefile
2
Makefile
|
@ -4,7 +4,7 @@ BUILDDIR ?= target/$(PLATFORM)
|
|||
SRCDIR ?= src
|
||||
|
||||
CPPFLAGS ::= -iquotesrc/ $(CPPFLAGS)
|
||||
CFLAGS ::= -g -std=c99 -Wall -Wextra -Wpedantic -Werror $(CFLAGS)
|
||||
CFLAGS ::= -g -std=c99 -Wall -Wextra -Wpedantic -Werror -Wno-error=unused-function $(CFLAGS)
|
||||
LDFLAGS ::= $(LDFLAGS)
|
||||
LDLIBS ::= -lGL -lGLEW -lglut -lassimp $(LDLIBS)
|
||||
|
||||
|
|
|
@ -6,6 +6,8 @@
|
|||
#include "geometry.h"
|
||||
#include "performance.h"
|
||||
|
||||
#define RENDER_DEBUG_ 0
|
||||
|
||||
float viewportAspectRatio = 1.0f;
|
||||
const Scene* cameraAnchor;
|
||||
|
||||
|
@ -66,7 +68,9 @@ static void renderScene(const Scene* scene, const Transform baseTransform) {
|
|||
glLoadTransposeMatrixf((const GLfloat*) &transform);
|
||||
|
||||
glDisable(GL_LIGHTING);
|
||||
#if RENDER_DEBUG_
|
||||
drawAxes();
|
||||
#endif // RENDER_DEBUG_
|
||||
glEnable(GL_LIGHTING);
|
||||
|
||||
if (scene->solid) {
|
||||
|
|
Loading…
Reference in New Issue