37 Commits (842c263d51f0874ca6d3f576d6fd615bc373c466)

Author SHA1 Message Date
Vladimír Vondruš f009e5c47f Math: added rounding functions. 13 years ago
Vladimír Vondruš d6586fa1fc Math: reduce code duplication in Functions.h. 13 years ago
Vladimír Vondruš de2ca00217 Math: doc++ 13 years ago
Vladimír Vondruš 186c522fe5 Math: added lerpInverted(). 13 years ago
Vladimír Vondruš 06a4e297bc Math: deinlined heavy functions, removed redundant `inline`. 13 years ago
Vladimír Vondruš a63fea570a Math: don't include <algorithm> in header file. 13 years ago
Vladimír Vondruš 31ce072f39 Math: added initializer list overloads for min() and max(). 13 years ago
Vladimír Vondruš 2447ca9fb5 Added some TODOs. 13 years ago
Vladimír Vondruš 7ef8432fbe Doxygen: ignore specific namespaces instead of whole directories. 13 years ago
Vladimír Vondruš 458e146765 Math: std::fma() is not available in NaCl's newlib. 13 years ago
Vladimír Vondruš f6ae87376b Math: added function fma(). 13 years ago
Vladimír Vondruš 4ab3ab6534 Math: added Vector::lengthInverted(). 13 years ago
Vladimír Vondruš 6124ad3c27 Math: added sqrtInverted() function. 13 years ago
Vladimír Vondruš bf58bb3cb1 Math: rework of component-wise matrix and vector functions. 13 years ago
Vladimír Vondruš b0883f8d6b Doc++ 13 years ago
Vladimír Vondruš 5e8606a755 Math: added sign() function. 13 years ago
Vladimír Vondruš 56139ae365 Math: no need to provide implementation just for Doxygen. 13 years ago
Vladimír Vondruš 2d71c86942 Math: make trignometric functions working with Unit base class. 13 years ago
Vladimír Vondruš 83bda8bbe6 Math: fixed test for denormalize<UnsignedLong, long double>(). 13 years ago
Vladimír Vondruš 6a5d75d1e4 Relicensing to MIT/Expat license, part 2: headers. 13 years ago
Vladimír Vondruš 90a60ce7e9 Math: disable denormalize() test for UnsignedLong. 13 years ago
Vladimír Vondruš 6a90b0231b Math: using new aliases for builtin types in whole Math namespace. 13 years ago
Vladimír Vondruš 5ff0e29950 Math: fix warning about literal types in normalize(). 13 years ago
Vladimír Vondruš c2f4359bd7 Math: added strongly-typed asin(), acos() and atan(). 13 years ago
Vladimír Vondruš c0a5e5dadd Math: added sin(), cos() and tan() accepting either Rad or Deg. 13 years ago
Vladimír Vondruš fec6822187 Math: added sqrt() scalar/vector overload. 13 years ago
Vladimír Vondruš 0144c38a54 Math: moved lerp() from Vector to Functions.h. 13 years ago
Vladimír Vondruš 8a63939134 Math: added vector/scalar abs() function. 13 years ago
Vladimír Vondruš 5819dd4bd7 Math: matrix/vector rework, part 3: conversion as explicit constructor. 13 years ago
Vladimír Vondruš 263d8351b6 Math: vector overloads for normalize() and denormalize(). 13 years ago
Vladimír Vondruš ec23a3d13c Minor code cleanup. 13 years ago
Vladimír Vondruš ad9a55a867 Doc++ 13 years ago
Vladimír Vondruš 4d6d3fde88 Math: scalar/vector implementation of min(), max() and clamp(). 13 years ago
Vladimír Vondruš bdba6b7221 Math: no need to have two versions of denormalize(), they are the same. 13 years ago
Vladimír Vondruš 3daefd70a9 Math: simplified internal pow<n>() implementation. 13 years ago
Vladimír Vondruš cade175304 Math: finally implemented precise signed/unsigned normalization. 14 years ago
Vladimír Vondruš 7dc0fc4a4c Math: Renamed Math.h to Functions.h 14 years ago
Vladimír Vondruš 52300cf402 Math: function for base-2 logarithm. 14 years ago
Vladimír Vondruš 7183110eee Doc++, @todo++ 14 years ago
Vladimír Vondruš c7d7fdad28 Math: removed done TODO. 14 years ago
Vladimír Vondruš 0f889369f4 No `using namespace std` anywhere. 14 years ago
Vladimír Vondruš c1cf94fb46 Using fixed-size integer types also everywhere else. 14 years ago
Vladimír Vondruš cdc2e5302c Using fixed-size 32bit integer instead of size_t for log/pow. 14 years ago
Vladimír Vondruš eb803200d6 Disabled denormalization test for long double altogether. 14 years ago
Vladimír Vondruš fe62f547de Reduced #includes in headers. 14 years ago
Vladimír Vondruš 3558859cc6 Utility function for clamping value in given limits. 14 years ago
Vladimír Vondruš d96cb96d60 Documented convenience functions on vectors and angles. 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š 3bcaed6322 Using round() in denormalization. 14 years ago