Valid Mesh

Everything related to 3D programming
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Valid Mesh

Post by IdeasVacuum »

There needs to be a PB function that verifies whether or not a Mesh is valid (an invalid Mesh crashes your app). Does such a function/method already exist?
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
User avatar
Samuel
Enthusiast
Enthusiast
Posts: 756
Joined: Sun Jul 29, 2012 10:33 pm
Location: United States

Re: Valid Mesh

Post by Samuel »

Result=CreateMesh() Returns 0 if mesh could not be created.
Result=LoadMesh() Returns 0 if mesh could not be loaded.
Result=IsMesh() Returns 0 if a valid mesh could not be found.

Hope this helps. :D
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: Valid Mesh

Post by IdeasVacuum »

IsMesh() :shock: I think I need a new pair of glasses........
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
Post Reply