diff --git a/inc/hgl/graph/InlineGeometry.h b/inc/hgl/graph/InlineGeometry.h index 935d1a56..4ea60832 100644 --- a/inc/hgl/graph/InlineGeometry.h +++ b/inc/hgl/graph/InlineGeometry.h @@ -151,11 +151,11 @@ namespace hgl public: - BoundingBoxCreateInfo() + BoundingBoxCreateInfo(bool n=false,ColorType ct=ColorType::NoColor) { - normal=false; + normal=n; - color_type=ColorType::NoColor; + color_type=ct; } };//struct BoundingBoxCreateInfo