Files
Webcam/include/engine/core/skin.h
2026-06-22 11:49:35 +02:00

37 lines
688 B
C++

/* -----------------------------------------------------------------------------
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__