2021-10-22 14:28:54 +02:00
|
|
|
#ifndef SMOOTHING_H
|
|
|
|
#define SMOOTHING_H
|
|
|
|
|
|
|
|
#include "my_mesh.h"
|
|
|
|
|
|
|
|
|
2021-11-28 16:55:10 +01:00
|
|
|
enum class SmoothingMethod {
|
|
|
|
UNIFORM,
|
|
|
|
COTANGENT,
|
|
|
|
};
|
|
|
|
|
|
|
|
void smooth(MyMesh &mesh, SmoothingMethod method, double cotan_factor=.0001);
|
2021-10-22 14:28:54 +02:00
|
|
|
|
|
|
|
|
|
|
|
#endif
|