Commit Graph

990 Commits

Author SHA1 Message Date
e0636a5b5e sphere: add stub sphere class 2015-04-13 21:46:40 +10:00
7f5533ff35 tap: consolidate expect_* functions 2015-04-13 21:45:49 +10:00
5ee3d14811 add a stub README 2015-04-13 18:10:27 +10:00
7ae57730f0 whitespace 2015-04-13 18:06:08 +10:00
2658b41ea1 relicence under Apache-2.0 2015-04-13 18:05:28 +10:00
bbbbb675a6 test: move tests to TAP output 2015-04-13 16:45:56 +10:00
241ad65df9 aabb: add equality operator 2015-04-13 16:44:30 +10:00
e9c0ed3f5f tap: use an object for logging 2015-04-13 16:43:49 +10:00
a7f96a127d colour: add hsv/rgb conversions 2015-04-09 21:50:42 +10:00
e7fba43935 colour: add hsv field names 2015-04-09 21:50:22 +10:00
7307d73bbc colour: add html and x11 string lookup 2015-04-09 20:46:55 +10:00
ef4475949d colour: specialise the cast function 2015-04-09 20:46:24 +10:00
0d1fb0147e colour: add generic ostream operators 2015-04-09 20:44:54 +10:00
7c33efda62 maths: reduce cast warnings in renormalise 2015-04-09 20:43:14 +10:00
be92d3a11f stream: add numeric ostream iomanip 2015-04-09 20:41:48 +10:00
21e172c3db stream: move bit ostream operator into util namespace 2015-04-09 20:41:24 +10:00
532dc415a4 colour: allow arbitrary colour dimensions 2015-04-09 18:00:40 +10:00
bd88832df3 coord: move cast/redim operations to coord 2015-04-09 17:58:47 +10:00
5428c93b9a coord: pass client class to coord base
allows common typesafe implementation of cast and redim
2015-04-09 17:47:35 +10:00
9f6c17d6cf maths: add renormalise function 2015-04-09 17:44:50 +10:00
afad51db9d aabb: add expand call 2015-04-09 14:05:01 +10:00
c94535dfae vector: note the order of components for polar 2015-04-08 19:00:46 +10:00
af11d7c730 extent: add contract methods 2015-04-08 19:00:33 +10:00
5b878983a6 aabb: add contract and closest methods 2015-04-08 19:00:17 +10:00
a4c22059ed aabb: rename expand to cover 2015-04-08 18:59:45 +10:00
e1b03e0735 coord: express negate with scalar value multiply
we don't have universal scalar reference operations implemented, this
avoids a temporary and removes compile errors
2015-04-08 14:53:55 +10:00
a67edcde1a vector: add cast operator 2015-04-08 13:51:09 +10:00
ec9b8a0c57 signal: remove eroneous cookie reset call 2015-04-07 23:10:49 +10:00
ace0fd4a99 aabb: add point overlap check 2015-04-07 23:10:31 +10:00
14e5f4ca2d coord/ops: enable vector-point element operations 2015-04-07 17:01:50 +10:00
5627c573eb coord: use size_t/intmax_t for u and i suffixes
size_t matches array indices we are likely to be used in conjuction with
these types.
2015-04-07 16:53:46 +10:00
14cab4fb9b maths: use std::signbit instead of builtin 2015-04-07 16:53:11 +10:00
426fc1c848 region: remove two-scalar constructor
two-scalar constructor is too similar to extent and point constructors
leading to unexpected initialisation problems.
2015-04-02 15:01:17 +11:00
0211ed5b37 matrix: add 2d translate convenience function 2015-04-02 15:01:17 +11:00
a300f99b87 vector: add polar_to_cartesian 2015-04-02 15:01:17 +11:00
4aa35f4c70 vector: add almost_equal specialisation 2015-04-02 15:01:17 +11:00
3da59aea2f vector: instantiate polar_to_cartesian 2015-04-01 17:05:24 +11:00
ea36bae110 whitespace 2015-04-01 17:05:13 +11:00
fb06a3ec2f extent: move aspect calculation back into object 2015-03-24 02:43:43 +11:00
06c537918f build: add XOPEN defines for posix2008 2015-03-24 02:43:21 +11:00
93ed983a6f maths: use __builtin_signbit to handle +- zeros 2015-03-24 02:42:42 +11:00
cf9db48e0e aabb: add signed and unsigned convenience types 2015-03-23 18:44:16 +11:00
0318c70709 json/schema: additionalProperties, patternProperties 2015-03-23 18:44:16 +11:00
90552732d7 json/schema: validate now throws on error 2015-03-23 18:44:16 +11:00
d102410567 json/tree: add as_bool native accessor 2015-03-23 18:41:07 +11:00
585a0b464c maths: make sign query inline
code which needs this function tends to require a fairly simple
implementation inline for the optimiser to reach more successfully. we
tended to generate function calls to this which slowed this inner loops.
2015-03-20 01:36:15 +11:00
751f06dc3e traits: add try_signed convertor 2015-03-20 01:32:28 +11:00
7c4604d0c7 json/schema: check before using exclusiveMin/Max 2015-03-19 00:25:50 +11:00
dc8fd96e4b build: bump m4 to use data-sections, func-sections 2015-03-19 00:25:50 +11:00
5674f2a2e9 json: add basic json-schema draft 4 support 2015-03-19 00:25:50 +11:00