From fefa148d694364cb4c60fbb4ffdc0f8ae6388df6 Mon Sep 17 00:00:00 2001 From: nerzhul Date: Thu, 11 Feb 2016 15:21:21 +0100 Subject: v2d & aabbox3d & sky cleanups * Sky: rename Box => m_box and inline getBoundingBox * Uniformize aabbox3d to aabb3f --- src/client.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/client.cpp') diff --git a/src/client.cpp b/src/client.cpp index a845277bd..2dc537782 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -1471,13 +1471,13 @@ ClientActiveObject * Client::getSelectedActiveObject( { ClientActiveObject *obj = objects[i].obj; - core::aabbox3d *selection_box = obj->getSelectionBox(); + aabb3f *selection_box = obj->getSelectionBox(); if(selection_box == NULL) continue; v3f pos = obj->getPosition(); - core::aabbox3d offsetted_box( + aabb3f offsetted_box( selection_box->MinEdge + pos, selection_box->MaxEdge + pos ); -- cgit v1.2.3