From fa852cfee26d3bdff0e18589ffb00851b0c25775 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 24 Oct 2010 22:22:34 +0000 Subject: corrects model bounding box issues --- src/model/mapfile.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/model/mapfile.h') diff --git a/src/model/mapfile.h b/src/model/mapfile.h index be1e789..75db76e 100644 --- a/src/model/mapfile.h +++ b/src/model/mapfile.h @@ -128,9 +128,6 @@ private: /// generate triangles for one plane in the plane list void make_brushface(Face *face); - /// load parsed primitives into model worldspawn - void load_worldspawn(Model *model); - /// load parsed primitives into a FragmentGroup void load_fragmentgroup(Model *model, const FragmentGroup::Type class_type); @@ -167,12 +164,14 @@ private: filesystem::IFileStream mapfile_ifs; std::string mapfile_name; - math::Vector3f class_maxbbox; + math::Vector3f map_minbbox; + math::Vector3f map_maxbbox; + math::Vector3f class_minbbox; + math::Vector3f class_maxbbox; math::Axis class_axis; float class_speed; - math::Vector3f map_center; Materials map_materials; bool warning_q2brush; -- cgit v1.2.3