| # | Line 867 | Line 867 | setglpersp() /* set perspective view in GL */ | |
|---|---|---|
| 867 | dev_zmin = odev.v.vfore; | |
| 868 | if (odev.v.vaft > FTINY) | |
| 869 | dev_zmax = odev.v.vaft; | |
| 870 | < | if (dev_zmin < dev_zmax/100.) |
| 871 | < | dev_zmin = dev_zmax/100.; |
| 870 | > | if (dev_zmin*500. < dev_zmax) |
| 871 | > | dev_zmax = dev_zmin*500.; |
| 872 | setzrat(); | |
| 873 | xmax = dev_zmin * tan(PI/180./2. * odev.v.horiz); | |
| 874 | xmin = -xmax; | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |