From 9357294cfc4c73aa5ccc56a34aae8834a4766378 Mon Sep 17 00:00:00 2001 From: RealBadAngel Date: Thu, 11 Feb 2016 04:57:01 +0100 Subject: Use single box for halo mesh --- src/mesh.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/mesh.h') 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 &boxes, - const f32 *uv_coords = NULL); + const f32 *uv_coords = NULL, float expand = 0); /* Update bounding box for a mesh. -- cgit v1.2.3