Commit Graph

6 Commits

Author SHA1 Message Date
Lorenzo Cogotti 6108f5cb28 [vec] Add parallax factor to toworldcoords() and toscreencoords() 2024-01-26 16:29:53 +01:00
Lorenzo Cogotti 940846e420 [vec] Add 2D cross product
Add 2D cross product (returns a scalar value).

For consistency with the rest of the API, the 3D cross product has been renamed
to cross3().
2023-11-21 11:26:52 +01:00
Lorenzo Cogotti 00d41367d6 [vec] Add functions to compute angles, minor style fixes. 2023-06-01 22:47:35 +02:00
Lorenzo Cogotti 9928899df1 [vec] Fix sqrdist* functions. 2023-03-04 08:32:16 +01:00
Lorenzo Cogotti c7849901cf [vec] Add cross product between vectors. 2022-09-15 09:18:25 +02:00
Lorenzo Cogotti 0e2dd54011 [spec/*,*] Split library in submodules. 2022-08-16 00:10:09 +02:00