Commit Graph

1238 Commits

Author SHA1 Message Date
76405ce9c0 image/buffer: use begin/end/data methods 2015-05-18 14:09:34 +10:00
054dfa918e crypto: add XXTEA {en,de}cryption. 2015-05-15 18:27:24 +10:00
7f0c7466e4 crypto: encrypt in-place where it suits 2015-05-15 18:26:45 +10:00
9a1a75d623 maths: correct constness of PI instantiations 2015-05-15 11:01:11 +10:00
ddaca2f453 XTEA: add extended TEA encryption 2015-05-07 00:18:01 +10:00
dd05d677dd TEA: use static sized storage for tests 2015-05-07 00:17:20 +10:00
9d3c058873 TEA: add "Tiny Encryption Algorithm" 2015-05-06 23:49:45 +10:00
717644acde arc4: add initial implementation 2015-05-06 21:38:56 +10:00
7a6c9823d5 build: disable problematic sanitizers 2015-05-01 02:49:59 +10:00
70c65c2bb2 introspection: map tuples to themselves in type_tuple 2015-05-01 02:49:19 +10:00
358f2ddb60 tuple: test tuple mapping with template src types
Added complexity in the test to help diagnose issues with the
introspection code.
2015-05-01 02:43:27 +10:00
7bc96bd60f maths: explicitly instantiate PI for float, double 2015-05-01 02:42:32 +10:00
bb1e87bb47 options: don't import util and std namespaces 2015-04-30 21:03:18 +10:00
928a499122 debug: silence unused variable warnings in release 2015-04-30 17:31:19 +10:00
7df74064dc traits: remove deprecated auto_ptr specialisation 2015-04-29 17:47:37 +10:00
c052d7df4b maths: use templated PI and E constants 2015-04-29 17:45:39 +10:00
d804f0e4b6 build: enable c++1z 2015-04-29 17:43:37 +10:00
5744b82825 build: add GCC 5 ODR checking 2015-04-29 17:42:52 +10:00
646a3e3902 build: add more sanitizers 2015-04-29 17:41:54 +10:00
6223e1e16c options: style 2015-04-29 17:18:31 +10:00
f05e478292 options: remove redundant config include 2015-04-29 17:13:31 +10:00
c68940bbbc options: don't include std/util in impl namespace 2015-04-29 17:13:25 +10:00
97de4a2bd6 options: remove memory leak 2015-04-29 17:10:33 +10:00
33401becbd tuple: add type mapping template 2015-04-21 14:21:01 +10:00
199be3213a introspection: add simple static introspection types 2015-04-20 17:51:00 +10:00
fa8387252e tuple: add tuple iteration helpers 2015-04-20 17:48:11 +10:00
29af32106b types: add type_tag helper struct 2015-04-20 17:48:11 +10:00
f9e8ea78bf variadic: add index helper type 2015-04-20 17:13:14 +10:00
1be5be38ea ray: add convenience point-point constructor 2015-04-15 18:59:28 +10:00
b1263e8f14 sphere: add ostream operator 2015-04-15 18:00:58 +10:00
bb15548fb6 ray: add ostream operator 2015-04-15 18:00:45 +10:00
d0bf00a9ac ray: style 2015-04-15 18:00:37 +10:00
a946b182f9 aabb: add diameter method 2015-04-15 17:16:34 +10:00
ed38fd0491 sphere: check radius is positive at construction 2015-04-15 14:30:37 +10:00
3decd9e0ab sphere: give data members proper names 2015-04-15 14:29:20 +10:00
fb97584ad6 ray: give data members proper names 2015-04-15 14:25:35 +10:00
13abad0d43 vector: use mag2 for normalised check 2015-04-15 14:25:16 +10:00
e939cca6fd ray: return NaN for negative aabb intersection 2015-04-15 14:20:59 +10:00
012f8107c6 point: operate on value types, not references 2015-04-15 14:14:01 +10:00
71d8a30769 vector: operate on value types, not references 2015-04-15 14:06:49 +10:00
ffaf10de21 extent: silence unused variable warning in test 2015-04-15 14:06:30 +10:00
6f1278767f vector: add is_normalised 2015-04-15 13:52:37 +10:00
f87481c5e0 vector: add constant unit vector 2015-04-15 13:52:22 +10:00
13ea2bbdf5 vector: style 2015-04-15 13:48:07 +10:00
46bd7f739f tap: explicitly type the test as std::function
clang doesn't like to implicitly cast lambdas to functions.
2015-04-15 13:39:59 +10:00
8863ebafe9 ray: add ray-sphere intersection test 2015-04-13 21:47:51 +10:00
7e2baf6751 ray: convert test to TAP format 2015-04-13 21:47:37 +10:00
54f5f2d170 tap: add expect_nan function 2015-04-13 21:46:56 +10:00
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