Danbias/Code/OysterGraphics/Model/Model.h

37 lines
536 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;
Oyster::Math::Float3 GlowTint;
bool Visible;
bool Instanced;
AnimationData Animation[2];
};
}
};
};
#endif