34788756d2
build: don't use './' as an include prefix
...
GCC produces ODR error when including paths of the form './foo' and
'foo' in the same binary. Rather than managing duplication we just
universally pick the absolute form over the relative form.
2017-11-22 16:49:37 +11:00
a7caea16e1
vector: add 2d cross product
2016-12-21 20:23:43 +11:00
4bf160934c
vector: prefer constexpr functions over static variables
2016-12-12 17:04:39 +11:00
b927c8b8e7
vector: make cross function constexpr
2016-10-17 16:49:26 +11:00
109d47e971
coord/ops: generalise vectors hypot function
2016-09-23 13:27:44 +10:00
ede9b75bad
vector: fix hypot implementation
2016-09-21 22:24:02 +10:00
4544a594c3
vector: add hypot function
...
calculates the root of the sum of the squares. much like std::hypot, but
of arbitrary dimension.
2016-09-21 17:13:25 +10:00
5b8df525a2
vector: add homogenous converter
...
added for symmetry with point classes
2015-07-21 01:41:48 +10:00
bd88832df3
coord: move cast/redim operations to coord
2015-04-09 17:58:47 +10:00
a67edcde1a
vector: add cast operator
2015-04-08 13:51:09 +10:00
4bb5b7adb2
vector: add scalar variant of redim
2015-02-12 17:41:07 +11:00
7ef4cbcc1a
vector: add redim operation
2015-01-15 14:01:51 +11:00