diff options
author | nerzhul <loic.blot@unix-experience.fr> | 2016-02-11 15:21:21 +0100 |
---|---|---|
committer | est31 <MTest31@outlook.com> | 2016-02-11 16:55:15 +0100 |
commit | fefa148d694364cb4c60fbb4ffdc0f8ae6388df6 (patch) | |
tree | 8755fd0d4ef196c23924ae2909a29681f9f77f05 /src/client.cpp | |
parent | 24b312cc085b7fae6477c8a47fffb57484b20f6e (diff) | |
download | minetest-fefa148d694364cb4c60fbb4ffdc0f8ae6388df6.tar.gz minetest-fefa148d694364cb4c60fbb4ffdc0f8ae6388df6.tar.bz2 minetest-fefa148d694364cb4c60fbb4ffdc0f8ae6388df6.zip |
v2d & aabbox3d<f32> & sky cleanups
* Sky: rename Box => m_box and inline getBoundingBox
* Uniformize aabbox3d<f32> to aabb3f
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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<f32> *selection_box = obj->getSelectionBox(); + aabb3f *selection_box = obj->getSelectionBox(); if(selection_box == NULL) continue; v3f pos = obj->getPosition(); - core::aabbox3d<f32> offsetted_box( + aabb3f offsetted_box( selection_box->MinEdge + pos, selection_box->MaxEdge + pos ); |