2013-11-06 22:52:00 +01:00
|
|
|
#pragma once
|
|
|
|
#ifndef Mesh_h
|
|
|
|
#define Mesh_h
|
2013-11-26 15:33:05 +01:00
|
|
|
#include "OysterMath.h"
|
2013-11-06 22:52:00 +01:00
|
|
|
|
|
|
|
namespace Oyster
|
|
|
|
{
|
2013-11-20 10:22:01 +01:00
|
|
|
namespace Graphics
|
2013-11-06 22:52:00 +01:00
|
|
|
{
|
2013-11-26 09:09:35 +01:00
|
|
|
namespace Model
|
2013-11-06 22:52:00 +01:00
|
|
|
{
|
2014-01-27 14:24:13 +01:00
|
|
|
struct ModelInfo;
|
2014-02-10 11:53:44 +01:00
|
|
|
|
|
|
|
struct Animation;
|
|
|
|
|
|
|
|
struct AnimationData
|
|
|
|
{
|
|
|
|
Animation* AnimationPlaying;
|
|
|
|
float AnimationTime;
|
|
|
|
bool LoopAnimation;
|
|
|
|
};
|
2013-11-20 10:22:01 +01:00
|
|
|
struct Model
|
|
|
|
{
|
2014-01-27 14:24:13 +01:00
|
|
|
ModelInfo* info;
|
2013-11-26 09:09:35 +01:00
|
|
|
Oyster::Math::Float4x4 WorldMatrix;
|
2014-02-12 16:21:46 +01:00
|
|
|
Oyster::Math::Float3 Tint;
|
2014-02-10 11:53:44 +01:00
|
|
|
bool Visible;
|
2014-02-10 13:59:45 +01:00
|
|
|
AnimationData Animation;
|
2013-11-20 10:22:01 +01:00
|
|
|
};
|
|
|
|
}
|
2013-11-06 22:52:00 +01:00
|
|
|
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|