aboutsummaryrefslogtreecommitdiff
path: root/src/math/vector.h
Commit message (Collapse)AuthorAgeFilesLines
* improved keyboard and mouse controlsvimene2025-01-031-0/+6
|
* various improvementsvimene2025-01-021-0/+7
| | | | | | | | | | - 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-311-58/+208
| | | | | | | | | | | - 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-091-2/+2
|
* renamed MathVector{2,3,4} to Vector{2,3,4} and Mat4 to Matrix4 in engine::mathvimene2023-12-031-50/+50
|
* renamed math_vector.{h,cpp} to vector.{h,cpp}vimene2023-12-031-0/+73