CalcBounds for other Primitives... ;-)
[MicroTrace.git] / Box.cxx
diff --git a/Box.cxx b/Box.cxx
index b1951e4..e68ef40 100644 (file)
--- a/Box.cxx
+++ b/Box.cxx
@@ -1,6 +1,11 @@
 #include "Box.hxx"
 
-Box::Box() : m_min(-Infinity), m_max(Infinity)
+Box::Box() : m_min(Infinity, Infinity, Infinity),
+  m_max(-Infinity, -Infinity, -Infinity)
+{
+}
+
+Box::Box(Vec3f min, Vec3f max) : m_min(min), m_max(max)
 {
 }
 
This page took 0.024224 seconds and 4 git commands to generate.