Home
last modified time | relevance | path

Searched refs:_map_to_world (Results 1 – 8 of 8) sorted by relevance

/dports/devel/godot2-tools/godot-2.1.6-stable/scene/2d/
H A Dtile_map.cpp342 Vector2 wofs = _map_to_world(E->key().x, E->key().y); in _update_dirty_quadrants()
626 r.pos = _map_to_world(E->key().x * _get_quadrant_size(), E->key().y * _get_quadrant_size()); in _recompute_rect_cache()
627 …r.expand_to(_map_to_world(E->key().x * _get_quadrant_size() + _get_quadrant_size(), E->key().y * _… in _recompute_rect_cache()
628 …r.expand_to(_map_to_world(E->key().x * _get_quadrant_size() + _get_quadrant_size(), E->key().y * _… in _recompute_rect_cache()
629 …r.expand_to(_map_to_world(E->key().x * _get_quadrant_size(), E->key().y * _get_quadrant_size() + _… in _recompute_rect_cache()
651 q.pos = _map_to_world(p_qk.x * _get_quadrant_size(), p_qk.y * _get_quadrant_size()); in _create_quadrant()
1164 Vector2 TileMap::_map_to_world(int x, int y, bool p_ignore_ofs) const { in _map_to_world() function in TileMap
1188 return _map_to_world(p_pos.x, p_pos.y, p_ignore_ofs); in map_to_world()
H A Dtile_map.h197 _FORCE_INLINE_ Vector2 _map_to_world(int p_x, int p_y, bool p_ignore_ofs = false) const;
/dports/devel/godot2/godot-2.1.6-stable/scene/2d/
H A Dtile_map.cpp342 Vector2 wofs = _map_to_world(E->key().x, E->key().y); in _update_dirty_quadrants()
626 r.pos = _map_to_world(E->key().x * _get_quadrant_size(), E->key().y * _get_quadrant_size()); in _recompute_rect_cache()
627 …r.expand_to(_map_to_world(E->key().x * _get_quadrant_size() + _get_quadrant_size(), E->key().y * _… in _recompute_rect_cache()
628 …r.expand_to(_map_to_world(E->key().x * _get_quadrant_size() + _get_quadrant_size(), E->key().y * _… in _recompute_rect_cache()
629 …r.expand_to(_map_to_world(E->key().x * _get_quadrant_size(), E->key().y * _get_quadrant_size() + _… in _recompute_rect_cache()
651 q.pos = _map_to_world(p_qk.x * _get_quadrant_size(), p_qk.y * _get_quadrant_size()); in _create_quadrant()
1164 Vector2 TileMap::_map_to_world(int x, int y, bool p_ignore_ofs) const { in _map_to_world() function in TileMap
1188 return _map_to_world(p_pos.x, p_pos.y, p_ignore_ofs); in map_to_world()
H A Dtile_map.h197 _FORCE_INLINE_ Vector2 _map_to_world(int p_x, int p_y, bool p_ignore_ofs = false) const;
/dports/devel/godot-tools/godot-3.2.3-stable/scene/2d/
H A Dtile_map.cpp404 Vector2 wofs = _map_to_world(E->key().x, E->key().y); in update_dirty_quadrants()
731 r.position = _map_to_world(E->key().x * _get_quadrant_size(), E->key().y * _get_quadrant_size()); in _recompute_rect_cache()
732 …r.expand_to(_map_to_world(E->key().x * _get_quadrant_size() + _get_quadrant_size(), E->key().y * _… in _recompute_rect_cache()
733 …r.expand_to(_map_to_world(E->key().x * _get_quadrant_size() + _get_quadrant_size(), E->key().y * _… in _recompute_rect_cache()
734 …r.expand_to(_map_to_world(E->key().x * _get_quadrant_size(), E->key().y * _get_quadrant_size() + _… in _recompute_rect_cache()
754 q.pos = _map_to_world(p_qk.x * _get_quadrant_size(), p_qk.y * _get_quadrant_size()); in _create_quadrant()
1534 Vector2 TileMap::_map_to_world(int p_x, int p_y, bool p_ignore_ofs) const { in _map_to_world() function in TileMap
1607 return _map_to_world(p_pos.x, p_pos.y, p_ignore_ofs); in map_to_world()
H A Dtile_map.h229 _FORCE_INLINE_ Vector2 _map_to_world(int p_x, int p_y, bool p_ignore_ofs = false) const;
/dports/devel/godot/godot-3.2.3-stable/scene/2d/
H A Dtile_map.cpp404 Vector2 wofs = _map_to_world(E->key().x, E->key().y); in update_dirty_quadrants()
731 r.position = _map_to_world(E->key().x * _get_quadrant_size(), E->key().y * _get_quadrant_size()); in _recompute_rect_cache()
732 …r.expand_to(_map_to_world(E->key().x * _get_quadrant_size() + _get_quadrant_size(), E->key().y * _… in _recompute_rect_cache()
733 …r.expand_to(_map_to_world(E->key().x * _get_quadrant_size() + _get_quadrant_size(), E->key().y * _… in _recompute_rect_cache()
734 …r.expand_to(_map_to_world(E->key().x * _get_quadrant_size(), E->key().y * _get_quadrant_size() + _… in _recompute_rect_cache()
754 q.pos = _map_to_world(p_qk.x * _get_quadrant_size(), p_qk.y * _get_quadrant_size()); in _create_quadrant()
1534 Vector2 TileMap::_map_to_world(int p_x, int p_y, bool p_ignore_ofs) const { in _map_to_world() function in TileMap
1607 return _map_to_world(p_pos.x, p_pos.y, p_ignore_ofs); in map_to_world()
H A Dtile_map.h229 _FORCE_INLINE_ Vector2 _map_to_world(int p_x, int p_y, bool p_ignore_ofs = false) const;