This is absolutly bril! From Blitz123
Code archives/3D Graphics - Mesh/ResizeMesh(mesh,width#,height#,depth#)
This code has been declared by its author to be Public Domain code.
Download source code
| Remember the ResizeImage function. There is nothing like that for entities and meshes. My function does it with one line code. |
Function ResizeMesh(mesh,width#,height#,depth#) ScaleMesh mesh,1/MeshWidth#(mesh)*width#,1/MeshHeight#(mesh)*height#,(1/MeshDepth#(mesh))*depth# End Function |
Comments
what about FitMesh??
Good work though "AuzingLG" - you obviously weren't aware, yet you decided to soldier on for a solution - good stuff.
I think he was well aware, his routine works.
Thanks for this function !!!! very usefull for me !