commit x64 compilation from lulu cause the other branch dont seems to compile properly at home
This commit is contained in:
23
include/engine/core/skin.cpp
Normal file
23
include/engine/core/skin.cpp
Normal file
@ -0,0 +1,23 @@
|
||||
/* -----------------------------------------------------------------------------
|
||||
GSFramework
|
||||
Copyright 2001-2013 Emmanuel Julien. All Rights Reserved.
|
||||
------------------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include "core/skin.h"
|
||||
|
||||
using namespace GS;
|
||||
using namespace GS::Core;
|
||||
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
bool Skin::ComputeBoneBoundingVolume(uint n, OBB &obb) const
|
||||
{
|
||||
if (n >= bones.GetCount())
|
||||
return false;
|
||||
|
||||
obb = OBB::FromMinMax(bones_minmax[n]);
|
||||
obb.Transform(bones_mtx[n]);
|
||||
return true;
|
||||
}
|
||||
//------------------------------------------------------------------------------
|
||||
Reference in New Issue
Block a user