Changeset 661 for code/branches/FICN/src/orxonox/objects/SpaceShip.cc
- Timestamp:
- Dec 20, 2007, 6:55:17 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/src/orxonox/objects/SpaceShip.cc
r660 r661 165 165 // END CREATING BLINKING LIGHTS 166 166 167 // START of testing crosshair 168 this->crosshairNear_.setBillboardSet("Orxonox/Crosshair", ColourValue(1.0, 1.0, 0.0), 1); 169 this->crosshairFar_.setBillboardSet("Orxonox/Crosshair", ColourValue(1.0, 1.0, 0.0), 1); 170 171 this->chNearNode_ = this->getNode()->createChildSceneNode(this->getName() + "near", Vector3(50.0, 0.0, 0.0)); 172 this->chNearNode_->setInheritScale(false); 173 this->chFarNode_ = this->getNode()->createChildSceneNode(this->getName() + "far", Vector3(200.0, 0.0, 0.0)); 174 this->chFarNode_->setInheritScale(false); 175 176 this->chNearNode_->attachObject(this->crosshairNear_.getBillboardSet()); 177 this->chNearNode_->setScale(0.2, 0.2, 0.2); 178 179 this->chFarNode_->attachObject(this->crosshairFar_.getBillboardSet()); 180 this->chFarNode_->setScale(0.4, 0.4, 0.4); 181 182 // END of testing crosshair 167 183 168 184 /*
Note: See TracChangeset
for help on using the changeset viewer.