190 Commits (aeda5009df68653d73a206586b939ebc4101c75e)

Author SHA1 Message Date
Vladimír Vondruš 08f26a7e3a Oops, premature refactoring. 14 years ago
Vladimír Vondruš 1727357cc5 Gauss-Jordan elimination. 14 years ago
Vladimír Vondruš 742a75277d Moved unary operator- from Vector to RectangularMatrix. 14 years ago
Vladimír Vondruš e21c9ca3a5 Function for computing trace of square matrix. 14 years ago
Vladimír Vondruš 3558859cc6 Utility function for clamping value in given limits. 14 years ago
Vladimír Vondruš fb61c22e07 Fixed matrix multiplication in RectangularMatrix subclasses. 14 years ago
Vladimír Vondruš 70402d687f Added missing #include. 14 years ago
Vladimír Vondruš 357b744d59 Vector function and operator reimplementation also for Color. 14 years ago
Vladimír Vondruš 8911dbdffe Moved multiplication and division from Vector to RectangularMatrix. 14 years ago
Vladimír Vondruš 4bcc805616 Moved add/subtract operators from Vector to RectangularMatrix. 14 years ago
Vladimír Vondruš 90881e7337 New base for matrices and vectors: RectangularMatrix. 14 years ago
Vladimír Vondruš 070c4c1901 Removed unneeded friend declaration. 14 years ago
Vladimír Vondruš 0e74c3847d Support for storing matrices and vectors in configuration. 14 years ago
Vladimír Vondruš 1ade64ca6b New crossreferenced @debugoperator alias. 14 years ago
Vladimír Vondruš 2b62cc4012 Prefer to use (col, row) instead of [col][row] on matrices. 14 years ago
Vladimír Vondruš a5b8afa122 Added Vector2::*Scale() and Vector3::*Scale(). 14 years ago
Vladimír Vondruš d96cb96d60 Documented convenience functions on vectors and angles. 14 years ago
Vladimír Vondruš b8750d3702 Added Vector2::*Axis(), similar to those in Vector3. 14 years ago
Vladimír Vondruš c451b22392 Revert "Documentation: organizing the classes into "modules"." 14 years ago
Vladimír Vondruš 9d750179cd Swapped template parameters in Vector/Matrix debug operator. 14 years ago
Vladimír Vondruš 8dbae4f09c Added @todo. 14 years ago
Vladimír Vondruš 0e08138806 Added number*Vector and number/Vector operators. 14 years ago
Vladimír Vondruš 5157abc439 Disabled original Vector div/mult for non-arithmetic types. 14 years ago
Vladimír Vondruš a4c80d18ed Added component-wise multiplication and division to Vector. 14 years ago
Vladimír Vondruš 125a0fa9d1 Doc++ 14 years ago
Vladimír Vondruš fec65aa6f5 Ability to construct Vector from another of different type. 14 years ago
Vladimír Vondruš 88d988c715 Added Type and Size members to Matrix. 14 years ago
Vladimír Vondruš 129b7f23a7 Fixed typos (substract -> subtract). 14 years ago
Vladimír Vondruš 0177ec8b5d Moved swizzle() functions to root namespace. 14 years ago
Vladimír Vondruš eeca90c17c Added @todos. 14 years ago
Vladimír Vondruš 51f2478b1e More precise double Math constants. 14 years ago
Vladimír Vondruš 6c111182e1 WTF? sizeof(int) != 8 and sizeof(long long) != 16. 14 years ago
Vladimír Vondruš 88e6221ac3 Better name for parameter in VectorN constructor from VectorN-1. 14 years ago
Vladimír Vondruš e5a72b25ce Have non-explicit parameterless constructor for Vector3. 14 years ago
Vladimír Vondruš c8aa005e86 Added Color3 and Color4 classes with HSV conversion. 14 years ago
Vladimír Vondruš 57d6ded237 Added NumericType and FloatingPointType to Math::MathTypeTraits. 14 years ago
Vladimír Vondruš f2ac32341d Fixed massive bugs in Vector3 and Vector4. 14 years ago
Vladimír Vondruš 3bcaed6322 Using round() in denormalization. 14 years ago
Vladimír Vondruš 95ca0754f5 Hide MathTypeTraits implementation in Implementation namespace. 14 years ago
Vladimír Vondruš 06872c7727 Added Vector::min() and Vector::max(). 14 years ago
Vladimír Vondruš 37a5d6347e Vector::angle() now expects normalized vectors. 14 years ago
Vladimír Vondruš 0a0860a9f2 Renamed Vector::lengthSquared() to parameterless Vector::dot(). 14 years ago
Vladimír Vondruš cfc955debe Added Vector::sum(), so product() has a friend. 14 years ago
Vladimír Vondruš 4aa07d3029 Use std:: variants for sin(), cos() and sqrt(). 14 years ago
Vladimír Vondruš dc7c5f5fae Just-to-be-sure static_assert()s for Matrix and Vector size. 14 years ago
Vladimír Vondruš 2553e50444 Functions for normalizing and denormalizing numeric values. 14 years ago
Vladimír Vondruš c23022d47f Another, more convenient way to swizzle. 14 years ago
Vladimír Vondruš 95c2b05a45 ...and install new Swizzle.h. Damn. 14 years ago
Vladimír Vondruš fff22d0822 New function for vector component swizzling. 14 years ago
Vladimír Vondruš 079a7be67d Disable non-constexpr one-parameter constructor for Vector<1, T>. 14 years ago