修改了LineTree中一些问题
parent
2745e8c47b
commit
39602e091d
|
@ -45,8 +45,8 @@ namespace Renderer {
|
||||||
public:
|
public:
|
||||||
void init();
|
void init();
|
||||||
void setLineWidth(double width);
|
void setLineWidth(double width);
|
||||||
LineTree(int lineMin = 3, int width = 0.3)
|
LineTree(int lineMin = 3, double width = 0.3, int type = 0)
|
||||||
: requiredLineMin(lineMin), lineWidth(width), numLine(0), numPoint(0) {}
|
: requiredLineMin(lineMin), lineWidth(width), lineType(type), numLine(0), numPoint(0) {}
|
||||||
void buildLineTree(std::vector<PointVector>& lineSet, double width, int type = 0);
|
void buildLineTree(std::vector<PointVector>& lineSet, double width, int type = 0);
|
||||||
std::vector<BvhTreeData> getPointLineAndBvhTree(std::vector<float>& pointSet, std::vector<GLuint>& lineSet);
|
std::vector<BvhTreeData> getPointLineAndBvhTree(std::vector<float>& pointSet, std::vector<GLuint>& lineSet);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue