first commit
This commit is contained in:
36
include/engine/core/skin.h
Normal file
36
include/engine/core/skin.h
Normal file
@ -0,0 +1,36 @@
|
||||
/* -----------------------------------------------------------------------------
|
||||
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__
|
||||
Reference in New Issue
Block a user