Danbias/Code/OysterGraphics/Model/Model.h

35 lines
480 B
C++

#pragma once
#ifndef Mesh_h
#define Mesh_h
#include "OysterMath.h"
namespace Oyster
{
namespace Graphics
{
namespace Model
{
struct ModelInfo;
struct Animation;
struct AnimationData
{
Animation* AnimationPlaying;
float AnimationTime;
bool LoopAnimation;
};
struct Model
{
ModelInfo* info;
Oyster::Math::Float4x4 WorldMatrix;
Oyster::Math::Float3 Tint;
bool Visible;
AnimationData Animation;
};
}
};
};
#endif