8b0c246a7b6fc31fc7fec715ec4e6f6785314889
Encountered while testing v850 airports; some airports generate materials with no tris, and hence no indices. This causes a divide-by-zero when computing the index stride. Detect this, and convert the BTG reader to throw exceptions in error conditions, and to catch this and report the appropriate result code.
SimGear - Simulator Construction Tools ====================================== http://www.flightgear.org SimGear is a set of open-source libraries designed to be used as building blocks for quickly assembling 3d simulations, games, and visualization applications. SimGear is developed by the FlightGear project and also provides the base for the FlightGear Flight Simulator. Source code for SimGear is released under the GNU Library General Public License (LGPL) - see COPYING for license details. See INSTALL file for help on building SimGear.
Description
Languages
C++
85.5%
C
13.1%
CMake
1.4%