git-svn-id: svn://db.shs.com.ru/libs@52 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -408,13 +408,6 @@ void QGLView::renderSelection() {
|
||||
}
|
||||
|
||||
|
||||
void QGLView::renderShadow() {
|
||||
glPushMatrix();
|
||||
//renderSingleShadow(objects_);
|
||||
glPopMatrix();
|
||||
}
|
||||
|
||||
|
||||
void QGLView::renderSingleSelection(GLObjectBase & o) {
|
||||
if (!o.isInit()) {
|
||||
o.init();
|
||||
@@ -444,22 +437,6 @@ void QGLView::renderSingleSelection(GLObjectBase & o) {
|
||||
renderSingleSelection(*i);
|
||||
}
|
||||
|
||||
/**
|
||||
void QGLView::renderSingleShadow(GLObjectBase & o) {
|
||||
if (!o.isInit()) {
|
||||
o.init();
|
||||
o.loadTextures();
|
||||
}
|
||||
if (!o.visible_) return;
|
||||
setGLMatrix(start_rp.view_matrix * o.itransform_);
|
||||
glPolygonMode(GL_FRONT_AND_BACK, o.render_mode != GLObjectBase::View ? o.render_mode : (rmode != GLObjectBase::View ? rmode : GL_FILL));
|
||||
glLineWidth(o.line_width > 0. ? o.line_width : lineWidth_);
|
||||
glPointSize(o.line_width > 0. ? o.line_width : lineWidth_);
|
||||
o.draw(0, true);
|
||||
foreach (GLObjectBase * i, o.children_)
|
||||
renderSingleSelection(*i);
|
||||
}
|
||||
*/
|
||||
|
||||
void QGLView::collectLights() {
|
||||
lights_.clear();
|
||||
|
||||
Reference in New Issue
Block a user