Commit Graph

33 Commits

Author SHA1 Message Date
439bb19679 coord: move operators out of subclasses 2015-03-06 01:09:58 +11:00
e5d99b3370 coord: use stricter member variable names
use tags for the core coordinate structures to specify what names should
be used for the data variables (in the data union)
2015-03-03 04:11:30 +11:00
6ac02a9920 point: add homogenous redim 2015-02-19 13:29:16 +11:00
049aaf84c9 point: add redim with constant 2015-02-19 13:19:02 +11:00
60f2a7e00d point: add self-division operator 2015-02-19 13:18:28 +11:00
6abfd252d9 coord: move free maths func from point to vector 2015-01-28 14:59:33 +11:00
1b19dadd40 point: add free multiply operator 2015-01-21 23:40:13 +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
2210db9c4e point: add a cast method 2015-01-19 13:27:13 +11:00
09f5894d0c point: add scalar division operation 2015-01-15 14:04: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
dadfe6173e point: add convenience typedef point4f 2015-01-13 18:41:51 +11:00
3d3c1a5f2f build: instantiate templates in declared namespace 2015-01-10 19:40:32 +11:00
7007b76db6 point: add static const member ORIGIN 2015-01-05 18:08:20 +11:00
bce2f81d2f point: add trivial std::hash specialisation 2014-12-19 15:00:33 +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
d4a6c115bc point: add point2u typedef for point<size_t,2> 2014-12-18 19:43:13 +11:00
5956d0421e parameterise point, vector, region, matrix on type 2014-12-15 20:10:56 +11:00
9cc47a05bd Add point::redim implementation 2014-02-18 15:28:28 +11:00
4e8d9e793b Add subtraction operators for point - vector 2013-08-06 14:31:46 +10:00
247d47f733 Add more scalar operators 2012-05-26 18:02:11 +10:00
40c40507f9 Give vector and point templated dimension size 2012-05-18 17:56:24 +10:00
6d879a96de Add distance2 for point 2012-05-03 18:12:12 +10:00
2aee108e79 Make 3d matrix/vectors and general matrix/vectors 2011-10-18 21:45:55 +11:00
dd1a935ed4 Add subtration operation for points 2011-09-13 16:49:10 +10:00
24e94d27fc Give point an ostream operator 2011-09-13 15:12:30 +10:00
8c995c22ac Make points be three dimensional 2011-09-13 15:12:09 +10:00
d6f0fd956c Add add/assign operator to point 2011-09-07 21:51:13 +10:00
6e73c22d91 Move point to the util namespace 2011-08-15 20:11:20 +10:00
f45c5faf76 Add basic 2 dimensional point classes 2011-06-23 22:04:51 +10:00