Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6807 in orxonox.OLD for trunk/src/world_entities/camera.cc


Ignore:
Timestamp:
Jan 28, 2006, 2:57:27 PM (18 years ago)
Author:
bensch
Message:

trunk: hover optimize

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/camera.cc

    r6780 r6807  
    111111    case VIEW_NORMAL:
    112112      this->toFovy = 60.0;
    113       /*      this->setParentSoft("TrackNode");
    114             this->target->setParentSoft("TrackNode"); */
    115113      this->setRelCoorSoft(-10, 5, 0);
    116114      this->target->setRelCoorSoft(0,0,0);
    117115      break;
    118116    case VIEW_BEHIND:
    119       //      this->toFovy = 120.0;
    120       //      this->setRelCoorSoft(Vector(3.5, 0, 0));
    121       //    this->target->setRelCoorSoft(Vector(10,0,0));
    122 
    123       //       if (!strcmp(this->target->getParent()->getName(), "Player"))
    124       //         this->target->setParentSoft("TrackNode");
    125       //       else
    126       //         this->target->setParentSoft("Player");
    127       //       this->getParent()->debugNode(0);
    128 
    129       //      this->setParent("main-Turret");
    130       //      this->setParentMode(PNODE_ALL);
    131       //      this->target->setParentSoft("Player");
    132 
    133117      break;
    134118    case VIEW_FRONT:
    135119      this->toFovy = 120.0;
    136       /*       this->setParentSoft("Player");
    137              this->target->setParentSoft("Player");*/
    138120      this->setRelCoorSoft(4, 0, 0, 5);
    139121      this->target->setRelCoorSoft(Vector(10,0,0), 5);
    140       //      this->target->setRelDirSoft(Quaternion(M_PI/4.0, Vector(0,1,0)));
    141122      break;
    142123    case VIEW_LEFT:
    143124      this->toFovy = 90;
    144       /*      this->setParentSoft("TrackNode");
    145             this->target->setParentSoft("TrackNode");*/
    146125      this->setRelCoorSoft(0, 1, -10, .5);
    147126      this->target->setRelCoorSoft(0,0,0);
     
    149128    case VIEW_RIGHT:
    150129      this->toFovy = 90;
    151       /*      this->setParentSoft("TrackNode");
    152             this->target->setParentSoft("TrackNode");*/
    153130      this->setRelCoorSoft(Vector(0, 1, 10));
    154131      this->target->setRelCoorSoft(0,0,0);
     
    156133    case VIEW_TOP:
    157134      this->toFovy= 120;
    158       /*      this->setParentSoft("TrackNode");
    159             this->target->setParentSoft("TrackNode");*/
    160135      this->setRelCoorSoft(Vector(30, 50, 0));
    161136      this->target->setRelCoorSoft(35,0,0);
Note: See TracChangeset for help on using the changeset viewer.