Danbias/Code/OysterGraphics/Model/Model.h

35 lines
480 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;
};
2013-11-20 10:22:01 +01:00
struct Model
{
2014-01-27 14:24:13 +01:00
ModelInfo* info;
Oyster::Math::Float4x4 WorldMatrix;
2014-02-12 16:21:46 +01:00
Oyster::Math::Float3 Tint;
bool Visible;
2014-02-10 13:59:45 +01:00
AnimationData Animation;
2013-11-20 10:22:01 +01:00
};
}
};
};
#endif