15 lines
205 B
C
15 lines
205 B
C
#ifndef SMOOTHING_H
|
|
#define SMOOTHING_H
|
|
|
|
#include "my_mesh.h"
|
|
|
|
|
|
enum class SmoothingMethod {
|
|
UNIFORM,
|
|
COTANGENT,
|
|
};
|
|
|
|
void smooth(MyMesh &mesh, SmoothingMethod method, double cotan_factor=.0001);
|
|
|
|
|
|
#endif |