Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 11, 2005, 12:55:48 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: setClassID implemented in all files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/world_entities/skysphere.cc

    r4444 r4597  
    11
    2 /* 
     2/*
    33   orxonox - the future of 3D-vertical-scrollers
    44
     
    1313   main-programmer: David Gruetter
    1414   co-programmer: Benjamin Grauer
    15    
    16    Created by Dave: this file is actually quite similar to player.cc and so is 
     15
     16   Created by Dave: this file is actually quite similar to player.cc and so is
    1717   skybox.h similar to player.h
    1818   With that said, things should be clear:)
    19    
     19
    2020   Edited:
    2121   Bensch: more constructors, changeability, comments...
     
    4343Skysphere::Skysphere(char* fileName)
    4444{
     45  this->setClassID(CL_SKYSPHERE, "SkySphere");
     46
    4547  if (fileName == NULL)
    4648    this->initialize("pictures/sky-replace.jpg");
     
    9294/**
    9395   \brief draws the Skysphere
    94    
     96
    9597   This part is normally precessed in the "Painting Phase".
    9698*/
     
    105107  //glRotatef(95.0f, 0.0f, 0.0f, 1.0f);
    106108  //glRotatef(-250.0f, 0.0, 1.0f, 0.0f);
    107  
     109
    108110  skyMaterial->select();
    109111  gluSphere(this->sphereObj, this->sphereRadius, 20, 20);
Note: See TracChangeset for help on using the changeset viewer.