Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9149 in orxonox.OLD for branches/presentation/src/world_entities


Ignore:
Timestamp:
Jul 4, 2006, 3:53:25 PM (18 years ago)
Author:
bensch
Message:

segfault prevention

Location:
branches/presentation/src/world_entities
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/presentation/src/world_entities/camera.cc

    r7868 r9149  
    3636  this->setFovy(90);
    3737  this->setAspectRatio(1.2f);
    38   this->setClipRegion(.1, 2000);
     38  this->setClipRegion(.1, 10000);
    3939
    4040  this->setViewMode(Camera::ViewNormal);
  • branches/presentation/src/world_entities/skydome.cc

    r9121 r9149  
    11/*
    22   orxonox - the future of 3D-vertical-scrollers
    3  
     3
    44   Copyright (C) 2006 orx
    5  
     5
    66   This program is free software; you can redistribute it and/or modify
    77   it under the terms of the GNU General Public License as published by
    88   the Free Software Foundation; either version 2, or (at your option)
    99   any later version.
    10  
     10
    1111### File Specific:
    1212   main-programmer: hdavid, amaechler
     
    4747  this->toList(OM_BACKGROUND);
    4848  this->toReflectionList();
    49  
     49  this->indices = NULL;
     50  this->vertices = NULL;
     51  this->shader = NULL;
    5052  activateDome = false;
    5153
     
    9193  if(!activateDome)
    9294    return;
    93  
     95
    9496  glPushAttrib(GL_ENABLE_BIT);
    9597
  • branches/presentation/src/world_entities/space_ships/spacecraft_2d.cc

    r9131 r9149  
    299299
    300300        State::getCameraNode()->setParentSoft(this->travelNode);
    301         State::getCameraNode()->setRelCoorSoft(-3, 50,0);
     301        State::getCameraNode()->setRelCoorSoft(-3, 100,0);
    302302        State::getCameraTargetNode()->setParentSoft(this->travelNode);
    303303        State::getCameraTargetNode()->setRelCoorSoft(5,0,1);
Note: See TracChangeset for help on using the changeset viewer.