Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4328 in orxonox.OLD for orxonox


Ignore:
Timestamp:
May 27, 2005, 3:52:56 AM (20 years ago)
Author:
bensch
Message:

orxonox/branches/physics: fixed two winodws-compile-bugs
2 less to go :)

Location:
orxonox/branches/physics/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/physics/src/lib/graphics/particles/particle_emitter.cc

    r4314 r4328  
    160160
    161161            // this should spread the Particles evenly. if the Emitter is moved around quickly
    162             Vector equalSpread = this->getVelocity() * random()/RAND_MAX * dt;
     162            Vector equalSpread = this->getVelocity() * rand()/RAND_MAX * dt;
    163163            Vector extension; // the Vector for different fields.
    164164
  • orxonox/branches/physics/src/subprojects/particles/Makefile.am

    r4316 r4328  
    3030
    3131
    32 AM_LDFLAGS=$(MWINDOWS) \
    33            $(GTK2_LIBS) $(GTHREAD_LIBS) $(CURL_LIBS)
    34 
    3532bin_PROGRAMS = particles
    3633
    37 particles_LDADD = $(MAINSRCDIR)/lib/physics/libORXphysics.a
     34particles_LDADD = $(MAINSRCDIR)/lib/physics/libORXphysics.a \
     35                  $(GTK2_LIBS) $(GTHREAD_LIBS) $(CURL_LIBS) \
     36                  -lpthread
    3837
    3938particles_CPPFLAGS = $(GTK2_CFLAGS) $(GTHREAD_CFLAGS) $(CURL_CFLAGS) $(MSBITFIELDS)
Note: See TracChangeset for help on using the changeset viewer.