You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
542 B
24 lines
542 B
#ifndef IGL_ICOSAHEDRON_H
|
|
#define IGL_ICOSAHEDRON_H
|
|
#include "igl_inline.h"
|
|
#include <Eigen/Core>
|
|
|
|
namespace igl
|
|
{
|
|
// Construct a icosahedron with radius 1 centered at the origin
|
|
//
|
|
// Outputs:
|
|
// V #V by 3 list of vertex positions
|
|
// F #F by 3 list of triangle indices into rows of V
|
|
template <typename DerivedV, typename DerivedF>
|
|
IGL_INLINE void icosahedron(
|
|
Eigen::PlainObjectBase<DerivedV> & V,
|
|
Eigen::PlainObjectBase<DerivedF> & F);
|
|
}
|
|
|
|
#ifndef IGL_STATIC_LIBRARY
|
|
# include "icosahedron.cpp"
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|