]> git.tdb.fi Git - libs/math.git/commit
Redesign the Vector interface
authorMikko Rasa <tdb@tdb.fi>
Fri, 17 May 2013 10:55:57 +0000 (13:55 +0300)
committerMikko Rasa <tdb@tdb.fi>
Fri, 17 May 2013 11:02:36 +0000 (14:02 +0300)
commitaa47cdf95914ae706b99a48d528260b3261f9882
tree4255d121ef21e93d92c04ccda46245facea4cce4
parenteb02e224876676a2d78f7305456a7d6f67d3dee2
Redesign the Vector interface

The constructors from two and three components are now provided directly
by the Vector template, so Vector2 and Vector3 are no longer needed.  In
addition, two- and three-component vectors now have named members.
source/geometry/box.h
source/geometry/rectangle.h
source/linal/dummy.cpp
source/linal/vector.h
source/linal/vector2.h [deleted file]
source/linal/vector3.h [deleted file]
tests/box.cpp
tests/sphere.cpp
tests/transformedshape.cpp