2004-10-01 14:40:32 +02:00
|
|
|
#ifndef NXS_ALGO_H
|
|
|
|
#define NXS_ALGO_H
|
|
|
|
|
|
|
|
#include <vector>
|
|
|
|
|
|
|
|
namespace nxs {
|
|
|
|
|
|
|
|
class Nexus;
|
2004-10-19 03:23:02 +02:00
|
|
|
class Patch;
|
2004-10-01 14:40:32 +02:00
|
|
|
|
|
|
|
void ComputeNormals(Nexus &nexus);
|
|
|
|
void ComputeTriStrip(unsigned short nfaces, unsigned short *faces,
|
|
|
|
std::vector<unsigned short> &strip);
|
2004-10-19 03:23:02 +02:00
|
|
|
void Reorder(unsigned int signature, nxs::Patch &patch);
|
2005-01-17 18:35:48 +01:00
|
|
|
void Unify(Nexus &nexus, float threshold);
|
2004-10-01 14:40:32 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|