Commit Graph

3402 Commits

Author SHA1 Message Date
0112d663ff region: add point/extent constructor 2015-01-15 14:01:05 +11:00
d905d817c6 fixed: instantiate for 26:6 2015-01-15 13:59:43 +11:00
496991f46e fixed: add to_integral, from_native 2015-01-15 13:59:28 +11:00
f688d8adda fixed: allow implicit construction from integers 2015-01-15 13:58:56 +11:00
bb0271ab2b point: add simple redim with fill test 2015-01-13 18:41:51 +11:00
917ab8fc8e point: add redim with fill 2015-01-13 18:41:51 +11:00
64c11bdcb0 point/vector: use coord constructors 2015-01-13 18:41:51 +11:00
82ee179b64 matrix: add convenience type matrix4f 2015-01-13 18:41:51 +11:00
7f152e5350 matrix: add matrix multiplication assignment 2015-01-13 18:41:51 +11:00
616f6f1db9 matrix: add point multiplication 2015-01-13 18:41:51 +11:00
dadfe6173e point: add convenience typedef point4f 2015-01-13 18:41:51 +11:00
f6aeef594e matrix: remove to_{global/local}
functions were poorly specified
2015-01-13 18:41:51 +11:00
58fb2c942f matrix: remove instance functions translate/scale
functions were untested and poorly specified
2015-01-13 18:41:51 +11:00
ccc21b2ae8 colour: derive from detail::coord 2015-01-13 18:41:51 +11:00
123ce6fcb4 coord: add missing required headers 2015-01-13 18:41:51 +11:00
0bf6e79932 coord: make dimension constexpr 2015-01-13 18:41:51 +11:00
79cb10c7cb coord: add default copy and assign operators 2015-01-13 18:41:51 +11:00
ed62d9516e coord: make scalar constructors explicit 2015-01-13 18:41:51 +11:00
f309c5dbd0 maths: add float overload of to_radians 2015-01-13 18:41:51 +11:00
a691f3b748 maths: add constexpr to min,max,to_{radian,degree} 2015-01-13 18:32:01 +11:00
9e18b9b57a whitespace 2015-01-13 18:31:03 +11:00
ccbae2dcb1 extent: add typecasting member function 2015-01-13 18:30:10 +11:00
25f21a66e4 colour: rename variables to r,g,b,a
for consistency with coord types
2015-01-13 10:50:12 +11:00
04b22cb64d coord: add dimension constant 2015-01-12 16:03:24 +11:00
143213db77 coord: add value_type typedef 2015-01-12 16:03:24 +11:00
2640811e03 endian: avoid directly byteswapping signed ints 2015-01-10 20:08:07 +11:00
b58fdaea9d iterator: avoid ignored const on reference 2015-01-10 20:07:39 +11:00
ad53b9f2de options: catch execption by reference 2015-01-10 20:07:25 +11:00
7045abb5ad build: don't test warning support on GCC 2015-01-10 20:06:34 +11:00
3d3c1a5f2f build: instantiate templates in declared namespace 2015-01-10 19:40:32 +11:00
9401e7a8f7 build: ignore warnings for required extensions 2015-01-10 19:39:49 +11:00
f37654d2bb build: link to asan/ubsan for sanitizer 2015-01-08 15:19:00 +11:00
7c55029040 mapped_file: remove win32 debug output 2015-01-07 16:00:25 +11:00
da3b709eca style 2015-01-07 16:00:12 +11:00
2704002dbd vector: fix vector4f to actually use 4 components 2015-01-05 18:08:34 +11:00
7007b76db6 point: add static const member ORIGIN 2015-01-05 18:08:20 +11:00
36a80c33a9 pool: use size_t for allocated sizes 2014-12-31 19:07:25 +11:00
1c009b9602 io: add permissions to fd_ref open call 2014-12-30 18:37:59 +11:00
46686dbc64 io: templatise write on output data type 2014-12-30 18:37:36 +11:00
debdd77610 io: add O_CREAT to flags with ACCESS_WRITE 2014-12-30 18:37:04 +11:00
0ea3d5b9ac endian: comment out signed byteswap
specifics of signed byteswap are unclear so we should remove it, but
it's not known exactly which projects rely on this functionality.
2014-12-30 18:35:11 +11:00
6069edd0de matrix: add rotate implementation 2014-12-30 01:32:02 +11:00
d508330295 coord: add single element constructor 2014-12-30 01:28:17 +11:00
9657c04eed extent: aspect should return float 2014-12-19 18:29:12 +11:00
7d5eac3f2f io: move mapped_file to platform subfiles 2014-12-19 18:28:50 +11:00
bce2f81d2f point: add trivial std::hash specialisation 2014-12-19 15:00:33 +11:00
a248d14d54 point: instance ostream for size_t templates 2014-12-19 15:00:04 +11:00
58aeeb1786 point: add equality operator 2014-12-19 14:59:50 +11:00
1bb4c752f1 point: templatise distance functions 2014-12-19 14:59:16 +11:00
67b03fd10f nocopy: explicitly delete move construct/assign 2014-12-19 14:58:13 +11:00