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
2658b41ea1
relicence under Apache-2.0
2015-04-13 18:05:28 +10: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
439bb19679
coord: move operators out of subclasses
2015-03-06 01:09:58 +11:00
0ed770eb09
vector: style
2015-02-19 14:20:01 +11:00
d342ef72f5
vector: add free dot function
2015-02-19 13:29:16 +11:00
b0d3211f02
vector: fully qualify std::begin/end
2015-02-19 13:29:16 +11:00
cfc0f8ecd0
json: move tree parsing code to json::tree
2015-02-02 21:26:56 +11:00
cee9951f82
vector: add difference(2) methods
2015-01-28 15:00:20 +11:00
6abfd252d9
coord: move free maths func from point to vector
2015-01-28 14:59:33 +11:00
52f53caee5
debug: drop support for CHECK_HARD
...
HARD vs SOFT assertions were never very well defined or supported.
Currently they just imply a level of functionality that isn't present;
it's better to remove them instead of expending the effort at this
point.
2015-01-28 14:49:34 +11:00
6da2e2226c
vector: collapse template instantiation behind def
2015-01-21 23:40:13 +11:00
fa52752629
vector: add vector2i and vector2u typedefs
2015-01-16 14:44:26 +11:00
7ef4cbcc1a
vector: add redim operation
2015-01-15 14:01:51 +11:00
64c11bdcb0
point/vector: use coord constructors
2015-01-13 18:41:51 +11:00
5956d0421e
parameterise point, vector, region, matrix on type
2014-12-15 20:10:56 +11:00
a6cc1e1e9d
vector: add instantiations for 4 element vectors
2014-08-19 20:46:37 +10:00
f6894fabc8
whitespace
2014-08-18 22:16:50 +10:00
233251b2c8
vector: workaround internal compiler error for gcc
2014-08-01 21:39:13 +10:00
bd5b9722ea
Make vector constructor explicit
...
It had been seen to construct out of single doubles, which is
problematic...
2013-08-06 21:23:56 +10:00
de0d05df97
Add decleration for vector::redim as a reminder
2013-08-06 14:32:08 +10:00
b4228aca1e
Add polar to cartesian operation for vectors
2013-07-30 23:52:31 +10:00
7d61acc8c1
Remove double printing of vector[0]
2012-06-14 18:32:17 +10:00
b08a47e68f
Restrice optimisation pragmas to GCC
2012-06-13 16:01:42 +10:00
0ac8785b2a
Fix some whitespace errors
2012-05-30 20:20:19 +10:00
247d47f733
Add more scalar operators
2012-05-26 18:02:11 +10:00
eecc648954
Add more scalar operators
2012-05-23 20:42:05 +10:00
c9242467d8
Add scalar operator overloads for vector
2012-05-22 14:13:34 +10:00
40c40507f9
Give vector and point templated dimension size
2012-05-18 17:56:24 +10:00
4f5d75a1df
Make all check macros uppercase
2012-05-11 12:34:21 +10:00
68adb32472
Add is_zero for vector magnitude
2012-05-03 15:56:56 +10:00
e9fb4af89d
Allow json-to-vectors with 1/2/3 dimensions
2012-04-27 13:18:12 +10:00
ed990ba889
Move output operators into target's namespace
2012-04-24 18:12:07 +10:00
77942e008d
Change my email to an active domain
2012-04-23 13:10:50 +10:00
45d8cfffbf
Rename "to_<type>" functions to "as_<type>"
...
'to' implies a copy, 'as' implies reinterpret.
2012-04-12 16:08:06 +10:00
ea50f64857
Add spherical/cartesian transforms
2011-10-29 23:14:07 +11:00
205b43b682
Add json extraction operator for vector
2011-10-29 21:17:48 +11:00
0946382b71
Add vector equality operator
2011-10-29 15:07:34 +11:00
1c73bddf8b
Add more vector operators
2011-10-24 15:17:15 +11:00
2aee108e79
Make 3d matrix/vectors and general matrix/vectors
2011-10-18 21:45:55 +11:00
745e06d1af
initial import from waif
2011-05-23 17:18:52 +10:00