Commit Graph

1318 Commits

Author SHA1 Message Date
b704e66d3d maths: remove now redundant polynomial code 2015-01-29 15:41:40 +11:00
5e4c1080ec polynomial: support eval on arbitrary types 2015-01-29 15:41:40 +11:00
0f19eaf6e1 comments 2015-01-29 15:40:22 +11:00
4d12dabb5f polynomial: use correct coefficients for newtons 2015-01-29 15:40:22 +11:00
57d5538717 polynomial: set NaNs as we go 2015-01-29 15:40:22 +11:00
e98bd6338e polynomial: add more const 2015-01-29 15:40:22 +11:00
d7db3d8d29 debug: make assertions debug-only 2015-01-28 15:01:17 +11:00
cee9951f82 vector: add difference(2) methods 2015-01-28 15:00:20 +11:00
6abfd252d9 coord: move free maths func from point to vector 2015-01-28 14:59:33 +11:00
50b0bc37b2 extent: add default constructor 2015-01-28 14:57:55 +11:00
e4a93fe23c maths: make pow constexpr 2015-01-28 14:57:37 +11:00
af7f01efd3 maths: label maths primitives pure 2015-01-28 14:57:20 +11:00
9962bdca87 build: disable stack protector for release 2015-01-28 14:56:36 +11:00
477f2e966b build: enable vectorizer options for release 2015-01-28 14:55:13 +11:00
52f53caee5 debug: drop support for CHECK_HARD
HARD vs SOFT assertions were never very well defined or supported.
Currently they just imply a level of functionality that isn't present;
it's better to remove them instead of expending the effort at this
point.
2015-01-28 14:49:34 +11:00
c185ea7226 region: add integer typedef, region2i 2015-01-22 15:00:35 +11:00
a782a61983 region: allow uninitialized construction 2015-01-22 15:00:20 +11:00
d23abfc727 region: use position_type for x,y 2015-01-22 14:58:42 +11:00
76b51e04b2 region: add expansion methods 2015-01-22 14:58:29 +11:00
7934ae865b bezier: add straight line tests for order 1-3 2015-01-22 14:57:57 +11:00
b9f38eb4a9 polynomial: use correct degree in template param 2015-01-22 14:57:38 +11:00
dd098943cf maths: remove rvalref from limit 2015-01-22 14:56:33 +11:00
d63457c567 bezier: add ostream operator 2015-01-22 14:56:19 +11:00
436ae3db54 bezier: add distance to point 2015-01-22 14:56:05 +11:00
a0167e07d7 bezier: correct ordering of order 2 eval 2015-01-22 14:55:13 +11:00
8a43c0f416 bezier: use correct degree parameter 2015-01-22 14:54:32 +11:00
bd12519d94 polynomial: use newtons method after cubic solve 2015-01-22 00:27:46 +11:00
13188ca83c polynomial: remove some useless maths operations 2015-01-22 00:27:10 +11:00
aca28a65e5 float: check comparison ULPs is sensible 2015-01-22 00:24:34 +11:00
b02aa2e568 float: remove debug print 2015-01-22 00:24:24 +11:00
2419e07547 bezier: initial eval for order 2-4 2015-01-21 23:42:45 +11:00
5469fdf06b polynomial: initial degree 1-3 solvers 2015-01-21 23:40:45 +11:00
0a2d163bb1 maths: seperate float and double PI 2015-01-21 23:40:13 +11:00
1b19dadd40 point: add free multiply operator 2015-01-21 23:40:13 +11:00
6da2e2226c vector: collapse template instantiation behind def 2015-01-21 23:40:13 +11:00
ee455e1ae7 log: mitigate unused variable in release 2015-01-21 23:40:13 +11:00
91ecc49d68 region: add inset method 2015-01-21 23:40:13 +11:00
de538d528b point: collapse template instantiations behind def 2015-01-21 23:40:13 +11:00
4260c91cd0 maths: add integer power operation 2015-01-21 23:40:13 +11:00
d3c300053b maths: comment sections 2015-01-21 23:40:13 +11:00
c02ad57660 debug: use high precision for output streams 2015-01-21 23:40:13 +11:00
fe143717c5 region: style, comments, namespacing 2015-01-21 23:40:13 +11:00
ca6fa4ad3e float: use ULP based comparison 2015-01-21 23:32:06 +11:00
f64e232201 point: point subtraction should give a vector 2015-01-19 19:14:53 +11:00
319a8ce616 coord: use inherited class for data definitions
keep as many operations centralised in the base coord class as possible.
2015-01-19 19:13:52 +11:00
ca66f831f7 matrix: add scalar scaling matrix 2015-01-19 19:12:44 +11:00
31b3e5ab68 time: use monotonic_clock
monotonic is unaffected by system time changes
2015-01-19 19:11:57 +11:00
803ec2cacc time: use floats for seconds 2015-01-19 19:11:41 +11:00
6eb2badaef build: remove generic fwd helpers
It's purpose was to build pointer typedefs for pre-C++11 code, which is
something we never really supported anyway.
2015-01-19 19:08:46 +11:00
2210db9c4e point: add a cast method 2015-01-19 13:27:13 +11:00