summaryrefslogtreecommitdiffstats
path: root/src/common/vector_math.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fixed type conversion ambiguityHuw Pascoe2017-09-301-9/+3
|
* Disable unary operator- on Math::Vec2/Vec3/Vec4 for unsigned types.Subv2017-09-271-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 parameterwwylele2017-07-111-1/+1
|
* vector_math: remove broken SFINAE stuffwwylele2017-07-111-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).Subv2017-07-111-1/+1
|
* pica/swrasterizer: implement procedural texturewwylele2017-05-201-0/+10
|
* vector math: add implementation of Length and Normalizewwylele2016-12-261-0/+19
|
* Common: Remove dangerous Vec[234] array constructorsYuri Kunde Schlesner2016-09-301-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-formatYuri Kunde Schlesner2016-09-191-12/+6
|
* Sources: Run clang-format on everything.Emmanuel Gil Peyrot2016-09-181-325/+382
|
* vector_math: Add missing member in Vec4's SetZero functionLioncash2016-03-181-1/+4
|
* fix failure on gcc and clangwwylele2015-11-121-3/+3
|
* disable unary minus when the type is not signedwwylele2015-11-121-0/+4
| | | | silent warning C4146 on msvc
* Move video_core/math.h to common/vector_math.harchshift2015-05-301-0/+640
The file only contained vector manipulation code, and such widely-useable code doesn't belong in video_core.