allow cancel operation for HACD (it takes minutes to complete, blocking modelers such as Maya when accidently pressed)
used in Dynamica maya plugin (http://dynamica.googlecode.com)
This commit is contained in:
@@ -72,7 +72,7 @@ namespace HACD
|
||||
{
|
||||
return lhs.m_priority>rhs.m_priority;
|
||||
}
|
||||
typedef void (*CallBackFunction)(const char *, double, double, size_t);
|
||||
typedef bool (*CallBackFunction)(const char *, double, double, size_t);
|
||||
|
||||
//! Provides an implementation of the Hierarchical Approximate Convex Decomposition (HACD) technique described in "A Simple and Efficient Approach for 3D Mesh Approximate Convex Decomposition" Game Programming Gems 8 - Chapter 2.8, p.202. A short version of the chapter was published in ICIP09 and is available at ftp://ftp.elet.polimi.it/users/Stefano.Tubaro/ICIP_USB_Proceedings_v2/pdfs/0003501.pdf
|
||||
class HACD
|
||||
|
||||
Reference in New Issue
Block a user