24a530e23e
maths: remove pow2 function
...
pow2 has been used enough times to mean 2^x and x^2 that it's not worth
the ambiguity. just use pow(b,e) directly.
2018-04-09 12:30:22 +10:00
82a8446e10
build: silence various type conversion warnings
2018-01-18 11:56:42 +11:00
4bd693a799
maths: allow any integral exponent for pow()
2018-01-01 15:45:56 +11:00
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
dca8b174c6
build: add forgotten clang/gcc7 headers
2017-05-16 17:12:14 +10:00
4f795c9e40
bezier: add signed distance queries
2016-12-21 20:25:50 +11:00