summaryrefslogtreecommitdiffstats
path: root/src/video_core/math.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Move video_core/math.h to common/vector_math.harchshift2015-05-301-640/+0
| | | | The file only contained vector manipulation code, and such widely-useable code doesn't belong in video_core.
* Remove every trailing whitespace from the project (but externals).Emmanuel Gil Peyrot2015-05-291-1/+1
|
* VideoCore: Fix a typo in Vec4 MakeVec(T, Vec3<T>), where the second argument was Vec2<T> instead.Emmanuel Gil Peyrot2015-02-161-1/+1
|
* VideoCore: Added same-component swizzlers to math utility functions.bunnei2015-02-051-16/+35
|
* License changepurpasmart962014-12-211-1/+1
|
* Math: Warning fixes.Tony Wasserka2014-08-251-14/+23
|
* Pica/Math: Improved the design of the Vec2/Vec3/Vec4 classes and simplified rasterizer code accordingly.Tony Wasserka2014-08-251-81/+115
| | | | | | - Swizzlers now return const objects so that things like "first_vec4.xyz() = some_vec3" now will fail to compile (ideally we should support some vector holding references to make this actually work). - The methods "InsertBeforeX/Y/Z" and "Append" have been replaced by more versions of MakeVec, which now also supports building new vectors from vectors. - Vector library now follows C++ type promotion rules (hence, the result of Vec2<u8> with another Vec2<u8> is now a Vec2<int>).
* Video core: Add utility class for vector operations.Tony Wasserka2014-08-121-0/+578
I wrote most of this for ppsspp, so I hold full copyright over it. In addition to the original release in ppsspp, this provides functionality to easily extend e.g. two-dimensional vectors to three-dimensional vectors.