Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | vector_math: Use variable template version of is_signed in Vec classes | Lioncash | 2018-08-08 | 1 | -3/+3 |
| | | | | Same behavior, less code | ||||
* | vector_math: Remove unimplemented function prototypes | Lioncash | 2018-08-08 | 1 | -23/+0 |
| | |||||
* | vector_math: Make functions constexpr where applicable | Lioncash | 2018-08-08 | 1 | -154/+179 |
| | |||||
* | vector_math: Convert typedefs to type aliases | Lioncash | 2018-08-08 | 1 | -3/+3 |
| | |||||
* | vector_math: Ensure members are always initialized | Lioncash | 2018-05-02 | 1 | -9/+9 |
| | | | | Ensures that values are always in a well-defined state. | ||||
* | vector_math: Remove AsArray() and Write() functions from Vec[2,3,4] | Lioncash | 2018-04-20 | 1 | -30/+0 |
| | | | | These are all unused and the Write() ones should arguably not even be in the interface. There are better ways to provide this if we ever need it (like iterators). | ||||
* | Fixed type conversion ambiguity | Huw Pascoe | 2017-09-30 | 1 | -9/+3 |
| | |||||
* | Disable unary operator- on Math::Vec2/Vec3/Vec4 for unsigned types. | Subv | 2017-09-27 | 1 | -4/+8 |
| | | | | | It is unlikely we will ever use this without first doing a Cast to a signed type. Fixes 9 "unary minus operator applied to unsigned type, result still unsigned" warnings on MSVC2017.3 | ||||
* | vector_math: remove dead template parameter | wwylele | 2017-07-11 | 1 | -1/+1 |
| | |||||
* | vector_math: remove broken SFINAE stuff | wwylele | 2017-07-11 | 1 | -3/+2 |
| | | | | this was originally added to eliminate warnings on MSVC, but it doesn't work for custom types. | ||||
* | SwRasterizer: Flip the vertex quaternions before clipping (if necessary). | Subv | 2017-07-11 | 1 | -1/+1 |
| | |||||
* | pica/swrasterizer: implement procedural texture | wwylele | 2017-05-20 | 1 | -0/+10 |
| | |||||
* | vector math: add implementation of Length and Normalize | wwylele | 2016-12-26 | 1 | -0/+19 |
| | |||||
* | Common: Remove dangerous Vec[234] array constructors | Yuri Kunde Schlesner | 2016-09-30 | 1 | -3/+0 |
| | | | | | They're not currently used, and it's easy to accidentally pass a single pointer argument to them, causing an out-of-bounds read. | ||||
* | Manually tweak source formatting and then re-run clang-format | Yuri Kunde Schlesner | 2016-09-19 | 1 | -12/+6 |
| | |||||
* | Sources: Run clang-format on everything. | Emmanuel Gil Peyrot | 2016-09-18 | 1 | -325/+382 |
| | |||||
* | vector_math: Add missing member in Vec4's SetZero function | Lioncash | 2016-03-18 | 1 | -1/+4 |
| | |||||
* | fix failure on gcc and clang | wwylele | 2015-11-12 | 1 | -3/+3 |
| | |||||
* | disable unary minus when the type is not signed | wwylele | 2015-11-12 | 1 | -0/+4 |
| | | | | silent warning C4146 on msvc | ||||
* | Move video_core/math.h to common/vector_math.h | archshift | 2015-05-30 | 1 | -0/+640 |
The file only contained vector manipulation code, and such widely-useable code doesn't belong in video_core. |