summaryrefslogtreecommitdiff
path: root/src/mesh.h
diff options
context:
space:
mode:
authorRealBadAngel <maciej.kasatkin@o2.pl>2016-02-11 04:57:01 +0100
committerKahrl <kahrl@gmx.net>2016-02-11 13:11:25 +0100
commit9357294cfc4c73aa5ccc56a34aae8834a4766378 (patch)
tree61c754637ffeac391ffa6d9c2e5d5a37f4c808d4 /src/mesh.h
parentc1044b9a4a2eb45a0b71566bee59e5961708bebf (diff)
downloadminetest-9357294cfc4c73aa5ccc56a34aae8834a4766378.tar.gz
minetest-9357294cfc4c73aa5ccc56a34aae8834a4766378.tar.bz2
minetest-9357294cfc4c73aa5ccc56a34aae8834a4766378.zip
Use single box for halo mesh
Diffstat (limited to 'src/mesh.h')
-rw-r--r--src/mesh.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesh.h b/src/mesh.h
index ad3f8db4b..8e1893773 100644
--- a/src/mesh.h
+++ b/src/mesh.h
@@ -86,9 +86,10 @@ scene::IMesh* cloneMesh(scene::IMesh *src_mesh);
Convert nodeboxes to mesh.
boxes - set of nodeboxes to be converted into cuboids
uv_coords[24] - table of texture uv coords for each cuboid face
+ expand - factor by which cuboids will be resized
*/
scene::IMesh* convertNodeboxesToMesh(const std::vector<aabb3f> &boxes,
- const f32 *uv_coords = NULL);
+ const f32 *uv_coords = NULL, float expand = 0);
/*
Update bounding box for a mesh.