/* -----------------------------------------------------------------------------
	GSFramework
	Copyright 2001-2013 Emmanuel Julien. All Rights Reserved.
----------------------------------------------------------------------------- */


#ifndef	__NSKIN__
#define	__NSKIN__


		#include "math/matrix4.h"
		#include "geometry/bounding_box.h"
		#include "container/narray.h"


namespace GS {
	struct OBB;

	namespace Core {
		class Item;

struct	Skin
{
		Array <Item *>	bones;
		Array <Matrix4>	bones_mtx, previous_bones_mtx;
		Array <MinMax>	bones_minmax;

		/// Compute bone skin minmax.
		bool			ComputeBoneBoundingVolume(uint n, OBB &) const;
};

	} // Core
} // GS


#endif	// __NSKIN__
