Changeset 2044 for code/branches/objecthierarchy/src/orxonox/objects
- Timestamp:
- Oct 29, 2008, 11:37:19 AM (16 years ago)
- Location:
- code/branches/objecthierarchy/src/orxonox/objects
- Files:
-
- 6 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy/src/orxonox/objects/Scene.cc
r2040 r2044 74 74 { 75 75 Ogre::Light* light; 76 light = this->sceneManager_->createLight("Light 0");76 light = this->sceneManager_->createLight("Light-1"); 77 77 light->setType(Ogre::Light::LT_DIRECTIONAL); 78 78 light->setDiffuseColour(ColourValue(1.0, 0.9, 0.6, 1.0)); 79 79 light->setSpecularColour(ColourValue(1.0, 0.9, 0.6, 1.0)); 80 light->setDirection(1, -0. 2, 0.2);80 light->setDirection(1, -0.3, 0.3); 81 81 } 82 82 // test test test -
code/branches/objecthierarchy/src/orxonox/objects/worldentities/Backlight.h
r2027 r2044 32 32 #include "OrxonoxPrereqs.h" 33 33 34 #include " WorldEntity.h"34 #include "PositionableEntity.h" 35 35 #include "tools/BillboardSet.h" 36 36 37 37 namespace orxonox 38 38 { 39 class _OrxonoxExport Backlight : public WorldEntity39 class _OrxonoxExport Backlight : public PositionableEntity 40 40 { 41 41 public: -
code/branches/objecthierarchy/src/orxonox/objects/worldentities/Model.h
r2040 r2044 47 47 virtual void changedVisibility(); 48 48 49 inline const Mesh& getMesh() const 50 { return this->mesh_; } 51 49 52 inline void setMeshSource(const std::string& meshname) 50 53 { this->meshSrc_ = meshname; this->changedMesh(); } 51 54 inline const std::string& getMeshSource() const 52 55 { return this->meshSrc_; } 53 inline const Mesh& getMesh() const54 { return this->mesh_; }55 56 56 57 inline void setCastShadows(bool bCastShadows) -
code/branches/objecthierarchy/src/orxonox/objects/worldentities/ParticleSpawner.h
r2027 r2044 32 32 #include "OrxonoxPrereqs.h" 33 33 34 #include " WorldEntity.h"34 #include "PositionableEntity.h" 35 35 #include "tools/Timer.h" 36 36 37 37 namespace orxonox 38 38 { 39 class _OrxonoxExport ParticleSpawner : public WorldEntity39 class _OrxonoxExport ParticleSpawner : public PositionableEntity 40 40 { 41 41 public:
Note: See TracChangeset
for help on using the changeset viewer.