mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-22 17:18:39 +00:00
Use single box for halo mesh
This commit is contained in:
parent
c1044b9a4a
commit
9357294cfc
4 changed files with 30 additions and 25 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue