2013-11-26 13:44:58 +01:00
|
|
|
#include "..\OysterGraphics\Core\Dx11Includes.h"
|
2013-11-21 13:50:43 +01:00
|
|
|
#include "OysterMath.h"
|
|
|
|
|
|
|
|
namespace Oyster
|
|
|
|
{
|
|
|
|
namespace Graphics
|
|
|
|
{
|
|
|
|
namespace Definitions
|
|
|
|
{
|
|
|
|
struct ObjVertex
|
|
|
|
{
|
|
|
|
Oyster::Math::Float3 pos;
|
|
|
|
Oyster::Math::Float2 uv;
|
|
|
|
Oyster::Math::Float3 normal;
|
|
|
|
};
|
2013-11-21 18:31:16 +01:00
|
|
|
|
|
|
|
struct VP
|
|
|
|
{
|
|
|
|
Oyster::Math::Matrix V;
|
|
|
|
Oyster::Math::Matrix P;
|
|
|
|
};
|
2013-11-26 09:09:35 +01:00
|
|
|
|
|
|
|
struct FinalVertex
|
|
|
|
{
|
|
|
|
Oyster::Math::Float3 pos;
|
|
|
|
Oyster::Math::Float2 uv;
|
|
|
|
Oyster::Math::Float3 normal;
|
|
|
|
Oyster::Math::Float3 tangent;
|
|
|
|
Oyster::Math::Float3 biTangent;
|
|
|
|
Oyster::Math::Float4 boneIndex;
|
|
|
|
Oyster::Math::Float4 boneWeights;
|
|
|
|
};
|
|
|
|
|
2013-11-21 13:50:43 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|