| 448 g_win->R ()->depthValue (), -10000.0f, 10000.0f, 3, &ok); |
448 g_win->R ()->depthValue (), -10000.0f, 10000.0f, 3, &ok); |
| 449 |
449 |
| 450 if (ok) |
450 if (ok) |
| 451 g_win->R ()->setDepthValue (depth); |
451 g_win->R ()->setDepthValue (depth); |
| 452 } |
452 } |
| |
453 |
| |
454 MAKE_ACTION (testpic, "Test picture", "", "", (0)) { |
| |
455 LDOpenFile* file = loadFile ("axle.dat"); |
| |
456 |
| |
457 if (!file) { |
| |
458 critical ("couldn't load axle.dat"); |
| |
459 return; |
| |
460 } |
| |
461 |
| |
462 GLRenderer* rend = new GLRenderer; |
| |
463 rend->setFile (file); |
| |
464 rend->setDrawOnly (true); |
| |
465 rend->show (); |
| |
466 } |