]> git.tdb.fi Git - libs/math.git/blobdiff - source/geometry/box.h
Redesign the Vector interface
[libs/math.git] / source / geometry / box.h
index bfcfa2f6e02dc343461375f64713563b57750020..40f88dc4412bb805159fd72197f9c6406a43106b 100644 (file)
@@ -1,7 +1,6 @@
 #ifndef MSP_GEOMETRY_BOX_H_
 #define MSP_GEOMETRY_BOX_H_
 
-#include <msp/linal/vector3.h>
 #include "hyperbox.h"
 
 namespace Msp {
@@ -13,7 +12,7 @@ class Box: public HyperBox<T, 3>
 public:
        Box() { }
        explicit Box(const LinAl::Vector<T, 3> &d): HyperBox<T, 3>(d) { }
-       Box(T w, T h, T d): HyperBox<T, 3>(LinAl::Vector3<T>(w, h, d)) { }
+       Box(T w, T h, T d): HyperBox<T, 3>(LinAl::Vector<T, 3>(w, h, d)) { }
 
        T get_width() const { return this->get_dimension(0); }
        T get_height() const { return this->get_dimension(1); }