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
2704002dbd
vector: fix vector4f to actually use 4 components
2015-01-05 18:08:34 +11:00
d81149b6e1
vector: remove explicit qualifier for init_list
2014-12-17 14:43:03 +11:00
3b1226ee9c
vector: add 4d and 4f convenience typedefs
2014-12-16 15:30:25 +11:00
5956d0421e
parameterise point, vector, region, matrix on type
2014-12-15 20:10:56 +11:00
23b0a7b146
remove annotations header
...
The annotations were never particularly robust, and weren't used in many
locations (or consistently). And we should be migrating to c++14
annotation syntax anyway. By focusing on writing them all locally we
will be a little more standards compliant, and the attributes should be
more visible.
2014-10-17 19:24:53 +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
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
d9a3abf4cd
Annotate vector::normalised with mustuse
2012-07-31 14:40:00 +10:00
247d47f733
Add more scalar operators
2012-05-26 18:02:11 +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
68adb32472
Add is_zero for vector magnitude
2012-05-03 15:56:56 +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
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
20f81a7630
Correct package name in copyright headers
...
Package is no longer waif, after its seperation from the waif
library/application. Hopefully there aren't any more dependencies...
2011-06-21 20:26:32 +10:00
745e06d1af
initial import from waif
2011-05-23 17:18:52 +10:00