Commit Graph

3 Commits

Author SHA1 Message Date
Paolo Cignoni c0d0599781 reformatted for allowing a breakpoint in the exception 2012-12-10 09:10:19 +00:00
Paolo Cignoni bf13a8ee8f Changed a bit the interface of the exception throwing. Updated normals and other to follow this changes 2012-10-11 11:04:37 +00:00
Paolo Cignoni 2577210a54 **** SIGNIFICANT CHANGES *****
- Cleaned up include order: Now you only need to include <vcg/complex/complex.h> (no more vertex/base.h etc) 
- Added official VN() EN() FN() const members for knowing number of vertexes etc...
- Added exceptions (at last!)
    Now instead of:
       assert(HasPerVertexNormal(m)) 
    you should write:
      if(!HasPerFaceNormal(m)) throw vcg::MissingComponentException();
2012-10-04 11:10:25 +00:00