summaryrefslogtreecommitdiffstats
path: root/libdimensionxx/dimensionxx/geometry.hpp
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2009-06-20 16:44:19 +0000
committerTavian Barnes <tavianator@gmail.com>2009-06-20 16:44:19 +0000
commitc4b1e00954c6934b081cbf3b26c55222b351cc46 (patch)
treebef427e3e5ccb67813ba78b136e1072bc8330301 /libdimensionxx/dimensionxx/geometry.hpp
parent9d46468507031d2435f5b93d57c3d89cd25d0c97 (diff)
downloaddimension-c4b1e00954c6934b081cbf3b26c55222b351cc46.tar.xz
New C++ dmnsn_array* and dmnsn_object* wrappers.
Diffstat (limited to 'libdimensionxx/dimensionxx/geometry.hpp')
-rw-r--r--libdimensionxx/dimensionxx/geometry.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libdimensionxx/dimensionxx/geometry.hpp b/libdimensionxx/dimensionxx/geometry.hpp
index 63a666b..f623eda 100644
--- a/libdimensionxx/dimensionxx/geometry.hpp
+++ b/libdimensionxx/dimensionxx/geometry.hpp
@@ -104,6 +104,7 @@ namespace Dimension
Line() { }
Line(const Vector& x0, const Vector& n)
{ m_line.x0 = x0.dmnsn(); m_line.n = n.dmnsn(); }
+ explicit Line(dmnsn_line l) : m_line(l) { }
// Line(const Line& l);
// ~Line();