#ifndef SINGULARITYJUDGER_SRF_MESH_H #define SINGULARITYJUDGER_SRF_MESH_H #include "vector" #include "glm/glm.hpp" using namespace std; // 用采样网格表示的一个曲面 class SrfMesh { public: int sampleLevel; // 采样层级;每多一层,uv方向的网格数都分别x2,整个mesh的网格数x4;sampleLevel为1时,采样整个面,仅有一个网格 int sampleCntOnSingleDir; vector> evaluation; vector> tangent_u; vector> tangent_v; vector> normal; }; #endif //SINGULARITYJUDGER_SRF_MESH_H