mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-11-03 02:56:39 +00:00 
			
		
		
		
	Choose a parent base on which node is used to iterate over children nodes. This leads to duplicate handing of child nodes. A node will be handled so many times how many parents it has. For example: p1 p2 \ / c Will be handled as: p1 p2 | | c c If c has children they will be handled X times c is handled.
		
			
				
	
	
		
			15 lines
		
	
	
	
		
			222 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
	
		
			222 B
		
	
	
	
		
			C++
		
	
	
	
	
	
#ifndef OPENMW_COMPONENTS_NIF_PARENT_HPP
 | 
						|
#define OPENMW_COMPONENTS_NIF_PARENT_HPP
 | 
						|
 | 
						|
namespace Nif
 | 
						|
{
 | 
						|
    struct NiNode;
 | 
						|
 | 
						|
    struct Parent
 | 
						|
    {
 | 
						|
        const NiNode& mNiNode;
 | 
						|
        const Parent* mParent;
 | 
						|
    };
 | 
						|
}
 | 
						|
 | 
						|
#endif
 |