mirror of https://github.com/CGAL/cgal
revert unintended modification
This commit is contained in:
parent
d226e504c4
commit
12445cc6e1
|
|
@ -1878,7 +1878,7 @@ void Scene::draw_sphere(float R, int prec)
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
void Scene::draw_cylinder(float R, int prec, std::unique_ptr<std::vector<float>>& vertices, std::unique_ptr<std::vector<float>>& normals)
|
void Scene::draw_cylinder(float R, int prec, std::vector<float> *vertices, std::vector<float> *normals)
|
||||||
{
|
{
|
||||||
vertices->resize(0);
|
vertices->resize(0);
|
||||||
int rings=360/prec, sectors=360/prec;
|
int rings=360/prec, sectors=360/prec;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue