mirror of
				https://github.com/TES3MP/openmw-tes3mp.git
				synced 2025-11-04 01:26:41 +00:00 
			
		
		
		
	Use default parameters where appropriate
This commit is contained in:
		
							parent
							
								
									5267d17408
								
							
						
					
					
						commit
						74b8095fc7
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -38,7 +38,7 @@ namespace MWClass
 | 
			
		|||
        if (!model.empty())
 | 
			
		||||
            objects.insertMesh(ptr, "meshes\\" + model, true);
 | 
			
		||||
        else
 | 
			
		||||
            objects.insertLight(ptr, NULL, Ogre::Vector3(0,0,0));
 | 
			
		||||
            objects.insertLight(ptr);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    void Light::insertObject(const MWWorld::Ptr& ptr, MWWorld::PhysicsSystem& physics) const
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -74,7 +74,7 @@ public:
 | 
			
		|||
    ~Objects(){}
 | 
			
		||||
    void insertBegin (const MWWorld::Ptr& ptr, bool enabled, bool static_);
 | 
			
		||||
    void insertMesh (const MWWorld::Ptr& ptr, const std::string& mesh, bool light=false);
 | 
			
		||||
    void insertLight (const MWWorld::Ptr& ptr, Ogre::Entity* skelBase, Ogre::Vector3 fallbackCenter);
 | 
			
		||||
    void insertLight (const MWWorld::Ptr& ptr, Ogre::Entity *skelBase=0, Ogre::Vector3 fallbackCenter=Ogre::Vector3(0.0f));
 | 
			
		||||
 | 
			
		||||
    void enableLights();
 | 
			
		||||
    void disableLights();
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue