From 9b70ca7b3a1b7bfd3bf434d8b84bde42f5572ca0 Mon Sep 17 00:00:00 2001 From: vimene Date: Tue, 5 Dec 2023 10:42:35 +0100 Subject: added renderer, improved various things - Added renderer to unify frame buffers - Added FrameBuffer class as a parent for frame buffers' classes - Improved formatting in Makefile.am - Added const modifier in Matrix4's methods --- Makefile.am | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index c0f1b53..ecfea3a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,22 +1,23 @@ EXTRA_DIST = m4/NOTES SUBDIRS = if ENABLE_TESTS - SUBDIRS += tests + SUBDIRS += tests endif ACLOCAL_AMFLAGS = -Im4 --install bin_PROGRAMS = engine -engine_SOURCES = src/engine.cpp \ - src/fb/chfb.h src/fb/chfb.cpp src/fb/pixfb.h src/fb/pixfb.cpp \ - src/math/vector.h src/math/vector.cpp \ - src/math/mat4.h src/math/mat4.cpp \ - src/o3d/mesh.h src/o3d/mesh.cpp src/o3d/tri_vertex.h \ - src/o3d/obj3d.h src/o3d/obj3d.cpp src/o3d/tri_vertex.h \ - src/o3d/tri_vertex.cpp src/o3d/vertex.h src/o3d/vertex.cpp \ - src/o3d/vertex_data.h src/o3d/vertex_data.cpp \ - src/o3d/camera.h src/o3d/camera.cpp \ - src/o3d/scene.h src/o3d/scene.cpp +engine_SOURCES = \ + src/engine.cpp src/renderer.h src/renderer.cpp \ + src/fb/fb.h src/fb/chfb.h src/fb/chfb.cpp src/fb/pixfb.h src/fb/pixfb.cpp \ + src/math/vector.h src/math/vector.cpp \ + src/math/mat4.h src/math/mat4.cpp \ + src/o3d/mesh.h src/o3d/mesh.cpp src/o3d/tri_vertex.h \ + src/o3d/obj3d.h src/o3d/obj3d.cpp src/o3d/tri_vertex.h \ + src/o3d/tri_vertex.cpp src/o3d/vertex.h src/o3d/vertex.cpp \ + src/o3d/vertex_data.h src/o3d/vertex_data.cpp \ + src/o3d/camera.h src/o3d/camera.cpp \ + src/o3d/scene.h src/o3d/scene.cpp engine_CPPFLAGS = -Wall -Wextra $(DEPS_CPPFLAGS) engine_LDFLAGS = -Wall -Wextra engine_LDADD = $(DEPS_LIBS) -- cgit v1.2.3