particles from Tiago_G
This commit is contained in:
parent
f6723429a0
commit
113be9d8be
2 changed files with 7 additions and 0 deletions
|
@ -534,6 +534,7 @@ case "${host}" in
|
|||
AC_CHECK_LIB(osgUtild,osgUtilGetVersion)
|
||||
AC_CHECK_LIB(osgDBd,osgDBGetVersion)
|
||||
AC_CHECK_LIB(osgSimd,osgSimGetVersion)
|
||||
AC_CHECK_LIB(osgParticled,osgParticleGetVersion)
|
||||
AC_CHECK_LIB(osgd,osgGetVersion)
|
||||
AC_CHECK_LIB(OpenThreadsd,OpenThreadsGetVersion)
|
||||
else
|
||||
|
@ -544,6 +545,7 @@ case "${host}" in
|
|||
AC_CHECK_FRAMEWORK(osgUtil, [#include <osgUtil/Version>])
|
||||
AC_CHECK_FRAMEWORK(osgDB, [#include <osgDB/Version>])
|
||||
AC_CHECK_FRAMEWORK(osgSim, [#include <osgSim/Version>])
|
||||
AC_CHECK_FRAMEWORK(osgParticle, [#include <osgParticle/Version>])
|
||||
AC_CHECK_FRAMEWORK(osg, [#include <osg/Version>])
|
||||
AC_CHECK_FRAMEWORK(OpenThreads, [#include <OpenThreads/Version>])
|
||||
fi
|
||||
|
@ -558,6 +560,7 @@ case "${host}" in
|
|||
AC_CHECK_LIB(osgGAd,osgGAGetVersion)
|
||||
AC_CHECK_LIB(osgViewerd,osgViewerGetVersion)
|
||||
AC_CHECK_LIB(osgSimd,osgSimGetVersion)
|
||||
AC_CHECK_LIB(osgParticled,osgParticleGetVersion)
|
||||
LIBS="$LIBS -losgFXd"
|
||||
else
|
||||
AC_CHECK_LIB(OpenThreads,OpenThreadsGetVersion)
|
||||
|
@ -568,6 +571,7 @@ case "${host}" in
|
|||
AC_CHECK_LIB(osgGA,osgGAGetVersion)
|
||||
AC_CHECK_LIB(osgViewer,osgViewerGetVersion)
|
||||
AC_CHECK_LIB(osgSim,osgSimGetVersion)
|
||||
AC_CHECK_LIB(osgParticle,osgParticleGetVersion)
|
||||
LIBS="$LIBS -losgFX"
|
||||
fi
|
||||
;;
|
||||
|
|
|
@ -62,6 +62,7 @@
|
|||
#include <simgear/misc/sg_path.hxx>
|
||||
#include <simgear/misc/interpolator.hxx>
|
||||
#include <simgear/scene/material/matlib.hxx>
|
||||
#include <simgear/scene/model/particles.hxx>
|
||||
#include <simgear/timing/sg_time.hxx>
|
||||
#include <simgear/timing/lowleveltime.h>
|
||||
|
||||
|
@ -1633,6 +1634,8 @@ bool fgInitSubsystems() {
|
|||
exit(-1);
|
||||
}
|
||||
|
||||
globals->get_scenery()->get_scene_graph()->addChild(SGParticles::getCommonRoot());
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Initialize the flight model subsystem.
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Reference in a new issue