From cc6fb8c33637566a7b116d46440e6063f016deea Mon Sep 17 00:00:00 2001 From: vimene Date: Tue, 31 Dec 2024 03:40:14 +0100 Subject: 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 --- src/o3d/vertex.cpp | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 src/o3d/vertex.cpp (limited to 'src/o3d/vertex.cpp') diff --git a/src/o3d/vertex.cpp b/src/o3d/vertex.cpp deleted file mode 100644 index 5845e27..0000000 --- a/src/o3d/vertex.cpp +++ /dev/null @@ -1,9 +0,0 @@ -#include "o3d/vertex.h" -#include "math/vector.h" -#include "o3d/vertex_data.h" - -using namespace engine::o3d; - -Vertex::Vertex(engine::math::Vector4 vertex, engine::math::Vector3 normal, VertexData data) - : vertex{vertex}, normal{normal}, data{data} { -} -- cgit v1.2.3