You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
329 B
19 lines
329 B
#ifndef SPRITE_COMPONENT_H |
|
#define SPRITE_COMPONENT_H |
|
|
|
#include <memory> // std::shared_ptr |
|
|
|
#include "glm/ext/vector_float4.hpp" // glm::vec4 |
|
|
|
#include "inferno/render/texture.h" |
|
|
|
namespace Inferno { |
|
|
|
struct SpriteComponent { |
|
glm::vec4 color { 1.0f }; |
|
std::shared_ptr<Texture> texture; |
|
}; |
|
|
|
} |
|
|
|
#endif // SPRITE_COMPONENT_H
|
|
|