]> git.mxchange.org Git - flightgear.git/commit
Added ground collision detection.
authorcurt <curt>
Sun, 12 Jul 1998 03:14:42 +0000 (03:14 +0000)
committercurt <curt>
Sun, 12 Jul 1998 03:14:42 +0000 (03:14 +0000)
commit330c78ac7380ccc0dab62bfe9509863be7626292
tree40d2336b3ec2d4facf0c56ba459bd3c520d5970d
parentdcae0268de7f689a214e7550e89498baaab0ca85
Added ground collision detection.
Did some serious horsing around to be able to "hug" the ground properly
  and still be able to take off.
Set the near clip plane to 1.0 meters when less than 10 meters above the
  ground.
Did some serious horsing around getting the initial airplane position to be
  correct based on rendered terrain elevation.
Added a little cheat/hack that will prevent the view position from ever
  dropping below the terrain, even when the flight model doesn't quite
  put you as high as you'd like.
Main/GLUTmain.cxx
Main/fg_init.cxx
Main/views.cxx