aboutsummaryrefslogtreecommitdiffstats
path: root/common/vecmat.h
Commit message (Collapse)AuthorAgeFilesLines
* Handle the listener position separate from the rotation matrixChris Robinson2021-05-251-0/+7
| | | | | | It's too unstable with larger vectors. Even when the source and listener positions are the same, floating point precision can cause noticeable rounding errors.
* Calculate the square root after checking the limitChris Robinson2021-01-291-4/+5
|
* Add a panning "deadzone" for spatialized sourcesChris Robinson2021-01-281-2/+3
| | | | It is now the greater of 'epsilon' (1 / 2**23) or ref_distance/1024.
* Avoid using a hidden unnamed template parameterChris Robinson2020-12-151-2/+4
|
* Use doubles to calculate the listener matrix translationChris Robinson2020-11-131-39/+70
| | | | | To help stablize sources near the listener, when away from origin. Also clean up some related methods and move them to more appropriate places.
* Remove a constexpr that needs C++17Chris Robinson2020-10-231-1/+1
|
* Add some constexprChris Robinson2020-10-231-4/+3
|
* Avoid unnecessary explicit copy methodsChris Robinson2019-09-081-20/+4
|
* Cleanup common sources' includesChris Robinson2019-07-291-7/+6
|
* Clean up some math stuffChris Robinson2018-12-221-1/+2
|
* Use proper classes for Vector and Matrix typesChris Robinson2018-12-121-32/+88
|
* Move the vector and matrix declarations to a separate headerChris Robinson2018-11-171-0/+46