aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorvimene <vincent.menegaux@gmail.com>2024-12-31 03:40:14 +0100
committervimene <vincent.menegaux@gmail.com>2024-12-31 03:40:14 +0100
commitcc6fb8c33637566a7b116d46440e6063f016deea (patch)
tree5cc83f84525507994add57df7dd974e6611d675a /Makefile.am
parent6b765a85cf81bf4b7162e4c9280dd4054581c611 (diff)
downloadengine-cc6fb8c33637566a7b116d46440e6063f016deea.tar.gz
various improvements
- added quaternions and rewrote all rotations to use them - added transforms to put all object transforms in a single place - added Wavefront .obj file parser - removed frame buffer's abstract class - improved vectors, matrices, triangles, vertices and vertices data by putting all code in header file - added vector's operations - changed from NULL to nullptr - miscellaneous improvements
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am28
1 files changed, 16 insertions, 12 deletions
diff --git a/Makefile.am b/Makefile.am
index ac2c3b6..680bc68 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -8,19 +8,23 @@ ACLOCAL_AMFLAGS = -Im4 --install
bin_PROGRAMS = engine
engine_SOURCES = \
- src/engine.cpp src/renderer.h src/renderer.cpp \
+ src/engine.cpp \
+ src/renderer.h src/renderer.cpp \
+ src/obj_parser.h src/obj_parser.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/math/vector.h \
+ src/math/mat4.h \
+ src/math/quat.h \
+ src/math/tform.h \
src/o3d/mesh.h src/o3d/mesh.cpp \
- src/o3d/obj3d.h src/o3d/obj3d.cpp \
- src/o3d/vertex_data.h src/o3d/vertex_data.cpp \
- src/o3d/vertex.h src/o3d/vertex.cpp \
- src/o3d/deriv_vertex.h src/o3d/deriv_vertex.cpp \
- src/o3d/tri.h src/o3d/tri.cpp \
+ src/o3d/obj3d.h \
+ src/o3d/vertex_data.h \
+ src/o3d/vertex.h \
+ src/o3d/deriv_vertex.h \
+ src/o3d/tri.h \
src/o3d/tri_deriv.h src/o3d/tri_deriv.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
+ src/o3d/camera.h \
+ src/o3d/scene.h
+engine_CPPFLAGS = -std=gnu++23 -Wall -Wextra $(DEPS_CPPFLAGS)
+engine_LDFLAGS = -std=gnu++23 -Wall -Wextra
engine_LDADD = $(DEPS_LIBS)