Commit Graph

3624 Commits

Author SHA1 Message Date
cc2c726801 Repurpose rotate function as rotate_left 2012-04-11 15:21:00 +10:00
a3d965b917 Change licencing from waif to libgim 2012-04-11 15:21:00 +10:00
c2ca63e024 Add unsigned long instantiation of extent and region 2012-02-09 14:55:14 +11:00
f009e96b91 Use the lerp header to pull in the correct lerp 2012-01-05 13:23:33 +11:00
9c63070718 Add various interpolation routines for perlin 2012-01-04 17:19:50 +11:00
f71f15ebf1 Add convenience typed hash functions 2012-01-04 17:19:50 +11:00
e01fcdcd59 Add bitwise rotate function 2012-01-04 17:19:50 +11:00
857dd8a111 Add simple 2d perlin noise function 2012-01-04 17:19:50 +11:00
02d5705cc3 Use the passed in data value 2012-01-04 17:16:13 +11:00
b302b510c3 Return unique_ptr from json routines 2012-01-04 17:05:40 +11:00
af97b70377 Add floating specialisations for range::random 2012-01-04 17:05:09 +11:00
f499779ffc Use forwarding for make_unique arguments 2012-01-04 17:04:17 +11:00
601c40a63b Instance various uint random functions 2012-01-04 17:03:49 +11:00
f07dda9116 Add a random choice from container function 2012-01-04 17:03:27 +11:00
e2b56f3b77 Add a warn macro 2012-01-04 17:03:00 +11:00
cdd1f60b0d Update tests to use the util namespace 2011-11-04 17:28:04 +11:00
6560353cb0 Add some simple checksum algorithms
* adler
* bsdsum
* crc
* fletcher
2011-11-04 17:04:42 +11:00
6b38a3486c Add a warn_if macro 2011-11-04 16:57:20 +11:00
ea50f64857 Add spherical/cartesian transforms 2011-10-29 23:14:07 +11:00
16d05e9ea6 Add to/from radian helpers 2011-10-29 23:13:47 +11:00
bd12deed4e Correctly set max for region json extractor 2011-10-29 21:44:30 +11:00
205b43b682 Add json extraction operator for vector 2011-10-29 21:17:48 +11:00
b774a6490d Add scalar multiply for colour 2011-10-29 21:17:28 +11:00
d3baffc2e5 Add json extraction operator for colour 2011-10-29 21:17:10 +11:00
0946382b71 Add vector equality operator 2011-10-29 15:07:34 +11:00
10b127415a Publically expose iterator typedef for json::array 2011-10-29 15:07:03 +11:00
d57269178a Add a naive FNV-1a hash series 2011-10-29 15:06:39 +11:00
dc202db67e Use hash algorithm name in its function's symbol 2011-10-29 15:05:49 +11:00
796a3d3639 Added simple integer and pointer hashes 2011-10-26 23:45:01 +11:00
2cf895daf9 Change abbreviate width/height variables 2011-10-26 22:59:47 +11:00
aba0611567 Combine header/source file lists for library 2011-10-26 21:44:59 +11:00
f7075fd9d2 Add more operators to region 2011-10-26 21:43:55 +11:00
d1187ecf3a Moved extent to a seperate file 2011-10-26 21:43:38 +11:00
020a3a4afe Add diameter methods to region and extent 2011-10-24 19:55:51 +11:00
1c73bddf8b Add more vector operators 2011-10-24 15:17:15 +11:00
cdc651cf66 Reduce temporaries in matrix unproject 2011-10-24 10:26:17 +11:00
406b70f1c3 Rename exact_equal to exactly_equal 2011-10-23 20:14:35 +11:00
30060de999 Add region ostream operator 2011-10-20 23:53:30 +11:00
1f4a744b29 Add centre method to region 2011-10-20 23:53:18 +11:00
0347936983 Add region::contains method 2011-10-20 21:09:47 +11:00
2aee108e79 Make 3d matrix/vectors and general matrix/vectors 2011-10-18 21:45:55 +11:00
b71049df85 Add includes query for region and point 2011-10-17 17:20:17 +11:00
d749be578a Add an exact_equal operator to avoid warnings 2011-10-16 14:57:43 +11:00
e8c9e1a11f Add overlaps query for regions 2011-10-10 22:37:27 +11:00
ed33f3ebce Use more accurate names for forward declares 2011-10-10 13:39:47 +11:00
bb6a3a6fb8 Link option fixes for Windows 2011-10-07 22:19:36 +11:00
641a15f0ec Use the util namespace for more classes 2011-10-07 21:58:16 +11:00
6e2ba427f9 Correctly bias the range::random function with min 2011-10-03 19:20:46 +11:00
2e091079d2 Don't abbreviate the util::range::rand function 2011-10-03 19:20:14 +11:00
f02501eb5e Move io functions into the util namespace 2011-10-01 01:58:10 +10:00