A tool for evaluating multiple NURBS curve/surface points using the GPU.
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.
 
 
 

17 lines
395 B

#ifndef NURBSPERFORMER_SRF_MESH_CUH
#define NURBSPERFORMER_SRF_MESH_CUH
#include "glm/glm.hpp"
class SrfMesh {
public:
int edgeSampleCnt;
glm::vec3 *evaluationRes;
glm::vec3 *tangent_u;
glm::vec3 *tangent_v;
glm::vec3 *normal;
SrfMesh(glm::vec3 *evalRes, glm::vec3 *tan_u, glm::vec3 *tan_v, glm::vec3 *nor, int edgeSampleCnt);
};
#endif //NURBSPERFORMER_SRF_MESH_CUH