Subversion Repositories gelsvn

Rev

Rev 663 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 663 Rev 665
Line 237... Line 237...
237
    
237
    
238
    }
238
    }
239
    
239
    
240
    void VisObj::draw_selection()
240
    void VisObj::draw_selection()
241
    {
241
    {
242
        Vec3d c;
242
//        Vec3d c;
243
        float r;
243
//        float r;
244
        bsphere(mani, c, r);
244
//        bsphere(mani, c, r);
-
 
245
        float r = view_ctrl.get_eye_dist();
245
        r *= 0.003;
246
        r *= 0.001;
246
        glDisable(GL_LIGHTING);
247
        glDisable(GL_LIGHTING);
247
        for(auto vid : mani.vertices())
248
        for(auto vid : mani.vertices())
248
        {
249
        {
249
            Vec3d p = mani.pos(vid);
250
            Vec3d p = mani.pos(vid);
250
            if(vertex_selection[vid])
251
            if(vertex_selection[vid])