Changeset 1933 in orxonox.OLD for orxonox/branches/chris
- Timestamp:
- Jun 9, 2004, 7:28:00 PM (20 years ago)
- Location:
- orxonox/branches/chris/core
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/chris/core/Makefile
r1920 r1933 9 9 OSMESA_LIB = libOSMesa.so 10 10 11 CFLAGS = -O3 -pedantic -fPIC -ffast-math -I/usr/X11R6/include11 CFLAGS = -O3 -pedantic -fPIC -ffast-math 12 12 CXXFLAGS = -fPIC -O3 13 13 GLUT_CFLAGS = -fexceptions … … 19 19 LIBS = -L$(LIBDIR) $(APP_LIB_DEPS) 20 20 21 OSMESA_LIBS = -L$(LIBDIR) -lglut -lOSMesa -lGLU -lGL$(APP_LIB_DEPS)21 OSMESA_LIBS = -L$(LIBDIR) -lglut32 -lGLU32 -lopenGL32 $(APP_LIB_DEPS) 22 22 23 23 LIB_DEP = $(LIBDIR)/$(GL_LIB) $(LIBDIR)/$(GLU_LIB) $(LIBDIR)/$(GLUT_LIB) … … 52 52 53 53 #.cc: $(LIB_DEP) 54 # $(CXX) -I$(INCDIR) $(CFLAGS) $< $(LIBS)-o $@54 # $(CXX) -I$(INCDIR) $(CFLAGS) $< -lglut32 -lGLU -lopenGL32 -o $@ 55 55 56 56 .cc.o: … … 65 65 $(TARGET): $(OBJECTS) 66 66 @ echo "orxonox is being linked..." 67 @ $(CXX) $(LIBS) -o $(TARGET) $(OBJECTS)67 @ $(CXX) -o $(TARGET) $(OBJECTS) -lglut32 -lGLU32 -lopenGL32 -lm 68 68 69 69 -
orxonox/branches/chris/core/environment.cc
r1917 r1933 42 42 for (int y = 1; y < 9; y++) 43 43 { 44 mountainTest[x][y] = (float)rand om() / 900000000;44 mountainTest[x][y] = (float)rand() / 900000000; 45 45 46 46 } -
orxonox/branches/chris/core/shoot_rocket.cc
r1929 r1933 147 147 sh->type = BACKPARABLE; 148 148 sh->xCor = x; sh->yCor = y; sh->zCor = z; 149 sh->xVel = (-1+(float)rand om() / 1000000000/step)/5;149 sh->xVel = (-1+(float)rand() / 1000000000/step)/5; 150 150 sh->yVel = -.3; 151 sh->zVel = (1-(float)rand om() / 1000000000/step)/5;151 sh->zVel = (1-(float)rand() / 1000000000/step)/5; 152 152 sh->xAcc = 0; sh->yAcc = .01/step; sh->zAcc = 0; 153 153 sh->next = lastShoot;
Note: See TracChangeset
for help on using the changeset viewer.