84 Commits (7acda40a674da895f23d368ac724715a9119b7fa)

Author SHA1 Message Date
Vladimír Vondruš 3d77885555 Revert "Overflow test for large types in Math::normalize() started working." 14 years ago
Vladimír Vondruš 75d0505a60 Overflow test for large types in Math::normalize() started working. 14 years ago
Vladimír Vondruš fe62f547de Reduced #includes in headers. 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š 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š 0e74c3847d Support for storing matrices and vectors in configuration. 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š b8750d3702 Added Vector2::*Axis(), similar to those in Vector3. 14 years ago
Vladimír Vondruš 0e08138806 Added number*Vector and number/Vector operators. 14 years ago
Vladimír Vondruš a4c80d18ed Added component-wise multiplication and division to Vector. 14 years ago
Vladimír Vondruš fec65aa6f5 Ability to construct Vector from another of different type. 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š 51f2478b1e More precise double Math constants. 14 years ago
Vladimír Vondruš 3bcaed6322 Using round() in denormalization. 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š 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š fff22d0822 New function for vector component swizzling. 14 years ago
Vladimír Vondruš 27e1dce533 Got rid of Qt's QtTest in favor of Corrade's TestSuite. 14 years ago
Vladimír Vondruš 8b3e065d52 Don't use == when comparing floating point values. 14 years ago
Vladimír Vondruš 27dad83dbc Don't pretend we are working with floats when they are doubles. 14 years ago
Vladimír Vondruš 8f008c53c5 Support for 2D transformations in addition to 3D in Matrix classes. 14 years ago
Vladimír Vondruš 86b1aaa2af Reuse most of the already compiled objects for unit test libraries. 14 years ago
Vladimír Vondruš 7f6f81afc7 Math::Constants are now inline functions instead of static variables. 14 years ago
Vladimír Vondruš 4cd1ee140e Removed Math::TypeTraits to MathTypeTraits to avoid name clash. 14 years ago
Vladimír Vondruš eddfb62c32 Function for getting first two components of a vector. 14 years ago
Vladimír Vondruš 7ff3c6e40d Ability to multiply/divide Vector with arbitrary type. 14 years ago
Vladimír Vondruš cc1f9c60c9 Swapped size and type template parameters in Vector and Matrix. 14 years ago
Vladimír Vondruš 6f94d84b1a Moved Math::GeometryUtils to Math::Geometry::Intersection. 14 years ago
Vladimír Vondruš e921194601 Simplified GeometryUtils::intersection(), updated documentation. 14 years ago
Vladimír Vondruš 2be1ff3763 Added Vector::lengthSquared() function. 14 years ago
Vladimír Vondruš 925cc3d2ff Make Math::pow() templated on type. 14 years ago
Vladimír Vondruš 0a965cf036 CMakeLists.txt cleanup and style unification. 14 years ago
Vladimír Vondruš f0d88fbf9f Added templated Math::Constants structure to replace PI #define. 14 years ago
Vladimír Vondruš aec8ef98dd Function for returning rotation and scaling part of Matrix4. 14 years ago
Vladimír Vondruš ccf61c0f7f Fixed typo in method name. 14 years ago
Vladimír Vondruš c14715962d Use T() instead of static_cast<T>() for numeric types. 14 years ago
Vladimír Vondruš 54af4015f2 Allow to specify value on diagonal in identity matrix constructor. 14 years ago
Vladimír Vondruš 4f1c7ccfa0 Better (hopefully) way to distinguish between Matrix constructors. 14 years ago
Vladimír Vondruš f2c37d9dd8 Using explicit constructors for templated type in Vector. 14 years ago
Vladimír Vondruš 071180ebcd Function for getting rotation part of Matrix4. 14 years ago