aboutsummaryrefslogtreecommitdiff
path: root/games/devtest/mods/basetools/textures/basetools_steelshears.png
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2022-05-05 20:49:57 +0200
committersfan5 <sfan5@live.de>2022-05-08 19:12:10 +0200
commit7fff9da71d2de352e0afea7482fc2e26534a51a4 (patch)
treef076924c543a5eb5876bc52f78256a2a80000167 /games/devtest/mods/basetools/textures/basetools_steelshears.png
parentf128f4cba14aad9c7bbf46b79bb6147a49a3595b (diff)
downloadminetest-7fff9da71d2de352e0afea7482fc2e26534a51a4.tar.gz
minetest-7fff9da71d2de352e0afea7482fc2e26534a51a4.tar.bz2
minetest-7fff9da71d2de352e0afea7482fc2e26534a51a4.zip
item_entity: Cache collisionbox for use in on_step
I don't have absolute numbers but if calls to get_properties() take up 30%+ of on_step() execution time that's bound to matter.
Diffstat (limited to 'games/devtest/mods/basetools/textures/basetools_steelshears.png')
0 files changed, 0 insertions, 0 deletions
href='#n151'>151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180
/*
Minetest
Copyright (C) 2013 celeron55, Perttu Ahola <celeron55@gmail.com>

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/

#include "test.h"

#include "collision.h"

class TestCollision : public TestBase {
public: