]> git.mxchange.org Git - flightgear.git/commit
Walk the AImodels property tree only once at init, rather than at update. Should...
authorVivian Meazza <vivian.meazza@lineone.net>
Thu, 2 Sep 2010 08:24:45 +0000 (09:24 +0100)
committerVivian Meazza <vivian.meazza@lineone.net>
Thu, 2 Sep 2010 08:24:45 +0000 (09:24 +0100)
commitbc12f0be21d703653620743b6bf86db7c78a69cd
treefdf07de07962aff0d6b535541ab56644b3f02e8d
parent792cb2701f8661748344436d1d8654722fcb05b7
Walk the AImodels property tree only once at init, rather than at update. Should have a beneficial effect on frame rate, but in practice makes no discernible improvement. It is cleaner code though.

Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
src/AIModel/AIBallistic.cxx
src/AIModel/AIBallistic.hxx
src/AIModel/AIEscort.cxx
src/AIModel/AIEscort.hxx
src/AIModel/AIGroundVehicle.cxx
src/AIModel/AIGroundVehicle.hxx
src/AIModel/AIShip.cxx
src/AIModel/AIWingman.cxx