mirror of https://github.com/CGAL/cgal
cast and reindent
This commit is contained in:
parent
44283d17c2
commit
7d5b51c4f0
|
|
@ -172,7 +172,7 @@ Scene_points_with_normal_item::Scene_points_with_normal_item(const Scene_points_
|
|||
d->point_Slider->setValue(5);
|
||||
else
|
||||
d->point_Slider->setValue(2);
|
||||
invalidateOpenGLBuffers();
|
||||
invalidateOpenGLBuffers();
|
||||
}
|
||||
|
||||
// Converts polyhedron to point set
|
||||
|
|
|
|||
|
|
@ -1809,7 +1809,7 @@ void Viewer_impl::drawGrid(qreal size, int nbSubdivisions)
|
|||
rendering_program_dist.bind();
|
||||
vao[2].bind();
|
||||
buffers[4].bind();
|
||||
buffers[4].allocate(v_Grid.data(),v_Grid.size()*sizeof(float));
|
||||
buffers[4].allocate(v_Grid.data(),static_cast<int>(v_Grid.size()*sizeof(float)));
|
||||
rendering_program_dist.enableAttributeArray("vertex");
|
||||
rendering_program_dist.setAttributeBuffer("vertex",GL_FLOAT,0,3);
|
||||
buffers[4].release();
|
||||
|
|
|
|||
Loading…
Reference in New Issue