# This could be handy for archiving the generated documentation or
# if some version control system is used.
-PROJECT_NUMBER = 0.3.5
+PROJECT_NUMBER = 0.3.6
# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
# base path where the generated documentation will be put.
EXTRA_DIST = \
acinclude.m4 \
autogen.sh \
- DoxygenMain.cxx
+ DoxygenMain.cxx \
README.MSVC \
- README.metakit \
README.zlib \
SimGear.dsp \
SimGear.dsw
+New in 0.3.6-pre1
+* Better MinGW support
+* Switched audio system from plib's "sl/sm" to OpenAL.
+* Add support for scaling an object based on distance. The scaling
+ factor is determined by a lookup table based on distance.
+* Add a "flash" animation type.
+* Fix cloud positioning/animation bugs.
+
+
New in 0.3.5
* March 26, 2004
# End Source File\r
# Begin Source File\r
\r
+SOURCE=.\simgear\scene\model\custtrans.cxx\r
+\r
+!IF "$(CFG)" == "SimGear - Win32 Release"\r
+\r
+# PROP Intermediate_Dir "Release\Lib_sgmodel"\r
+\r
+!ELSEIF "$(CFG)" == "SimGear - Win32 Debug"\r
+\r
+# PROP Intermediate_Dir "Debug\Lib_sgmodel"\r
+\r
+!ENDIF \r
+\r
+# End Source File\r
+# Begin Source File\r
+\r
SOURCE=.\simgear\scene\model\location.cxx\r
\r
!IF "$(CFG)" == "SimGear - Win32 Release"\r
# End Source File\r
# Begin Source File\r
\r
+SOURCE=.\simgear\scene\model\personality.cxx\r
+\r
+!IF "$(CFG)" == "SimGear - Win32 Release"\r
+\r
+# PROP Intermediate_Dir "Release\Lib_sgmodel"\r
+\r
+!ELSEIF "$(CFG)" == "SimGear - Win32 Debug"\r
+\r
+# PROP Intermediate_Dir "Debug\Lib_sgmodel"\r
+\r
+!ENDIF \r
+\r
+# End Source File\r
+# Begin Source File\r
+\r
SOURCE=.\simgear\scene\model\placement.cxx\r
\r
!IF "$(CFG)" == "SimGear - Win32 Release"\r
# PROP Default_Filter ""\r
# Begin Source File\r
\r
-SOURCE=.\simgear\sound\sound.cxx\r
+SOURCE=.\simgear\sound\sample_openal.cxx\r
+\r
+!IF "$(CFG)" == "SimGear - Win32 Release"\r
+\r
+# PROP Intermediate_Dir "Release\Lib_sgsound"\r
+\r
+!ELSEIF "$(CFG)" == "SimGear - Win32 Debug"\r
+\r
+# PROP Intermediate_Dir "Debug\Lib_sgsound"\r
+\r
+!ENDIF \r
+\r
+# End Source File\r
+# Begin Source File\r
+\r
+SOURCE=.\simgear\sound\soundmgr_openal.cxx\r
\r
!IF "$(CFG)" == "SimGear - Win32 Release"\r
\r
# End Source File\r
# Begin Source File\r
\r
-SOURCE=.\simgear\sound\soundmgr.cxx\r
+SOURCE=.\simgear\sound\xmlsound.cxx\r
\r
!IF "$(CFG)" == "SimGear - Win32 Release"\r
\r
AC_PREREQ(2.52)
dnl Initialize the automake stuff
-AM_INIT_AUTOMAKE(SimGear, 0.3.5)
+AM_INIT_AUTOMAKE(SimGear, 0.3.6-pre1)
dnl Specify KAI C++ compiler and flags.
dnl Borrowed with slight modification from blitz distribution.
// calculate the center of a list of points, by taking the halfway
// point between the min and max points.
-static Point3D calc_center( point_list& wgs84_nodes ) {
+Point3D sgCalcCenter( point_list& wgs84_nodes ) {
Point3D p, min, max;
if ( wgs84_nodes.size() ) {
for ( i = start; i < end; ++i ) {
for ( j = 0; j < (int)tris_v[i].size(); ++j ) {
group_nodes.push_back( wgs84_nodes[ tris_v[i][j] ] );
- bs_center = calc_center( group_nodes );
+ bs_center = sgCalcCenter( group_nodes );
bs_radius = sgCalcBoundingRadius( bs_center, group_nodes );
}
}
for ( i = start; i < end; ++i ) {
for ( j = 0; j < (int)strips_v[i].size(); ++j ) {
group_nodes.push_back( wgs84_nodes[ strips_v[i][j] ] );
- bs_center = calc_center( group_nodes );
+ bs_center = sgCalcCenter( group_nodes );
bs_radius = sgCalcBoundingRadius( bs_center, group_nodes );
}
}
};
+/**
+ * \relates SGBinObject
+ * Calculate the center of a list of points, by taking the halfway
+ * point between the min and max points.
+ * @param wgs84_nodes list of points in wgs84 coordinates
+ * @return center point
+ */
+Point3D sgCalcCenter( point_list& wgs84_nodes );
+
+
/**
* \relates SGBinObject
* Calculate the bounding sphere of a set of nodes.