aboutsummaryrefslogtreecommitdiff
path: root/src/math
Commit message (Collapse)AuthorAgeFilesLines
* various improvementsvimene2025-01-024-11/+48
| | | | | | | | | | - cleaned up the computation of the camera's matrix - changed VertexData to being a struct which transmit data between the "vertex shader" and the "fragment shader" - started working on keyboard and mouse controls - added fov (field of view) - changed quaternion to euler angles conversion, from zyx to zxy - fixed computations of z coordinates in triangle rendering - improved naming in the triangle rasterizer
* various improvementsvimene2024-12-316-403/+462
| | | | | | | | | | | - 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
* fixed perspective calculationsvimene2023-12-092-8/+8
|
* added renderer, improved various thingsvimene2023-12-052-14/+25
| | | | | | | - 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
* renamed MathVector{2,3,4} to Vector{2,3,4} and Mat4 to Matrix4 in engine::mathvimene2023-12-034-129/+129
|
* renamed math_vector.{h,cpp} to vector.{h,cpp}vimene2023-12-032-0/+0
|
* added namespaces, made every function in engine.cpp static and added ↵vimene2023-11-264-10/+22
| | | | warnings' flags
* improved matrices, cube building and command parsingvimene2023-11-262-0/+45
|
* added matricesvimene2023-11-262-0/+122
|
* code refactoringvimene2023-11-222-0/+242