00001 /** 00002 *\file Sphere.h 00003 * 00004 *\brief Define two global functions: TriangulateSphere() and ParametrizeSphere(). The later also do a triangulation. 00005 * 00006 *\author Xianming Chen 00007 * 00008 *\date 16 Jul 2004 00009 */ 00010 00011 00012 #ifndef _TRIANGULATESPHERE_H 00013 #define _TRIANGULATESPHERE_H 00014 00015 00016 00017 namespace columbia 00018 { 00019 struct TriangleMesh; 00020 00021 void TriangulateSphere(TriangleMesh &, int depth=1); 00022 void ParametrizeSphere(TriangleMesh &, int slicesV=16, int slicesH=32); 00023 00024 }//end namespace xchen 00025 00026 00027 #endif
1.3.6