Danbias/Code/OysterGraphics/Model/Model.h

39 lines
533 B
C
Raw Normal View History

#pragma once
#ifndef Mesh_h
#define Mesh_h
2013-11-26 15:33:05 +01:00
#include "OysterMath.h"
namespace Oyster
{
2013-11-20 10:22:01 +01:00
namespace Graphics
{
namespace Model
{
2014-01-27 14:24:13 +01:00
struct ModelInfo;
struct Animation;
struct AnimationData
{
Animation* AnimationPlaying;
float AnimationTime;
bool LoopAnimation;
};
struct AnimationPlayer
{
AnimationData data;
ModelInfo* info;
};
2013-11-20 10:22:01 +01:00
struct Model
{
2014-01-27 14:24:13 +01:00
ModelInfo* info;
Oyster::Math::Float4x4 WorldMatrix;
bool Visible;
AnimationPlayer Animation;
2013-11-20 10:22:01 +01:00
};
}
};
};
#endif