v/renderer/sprite.h
2026-04-28 19:46:41 +02:00

23 lines
353 B
C

//
// Created by Vicente Ferrari Smith on 14.02.26.
//
#ifndef SPRITE_H
#define SPRITE_H
#include <glm/glm.hpp>
#include "texture_sheet.h"
struct sprite_t {
glm::vec2 origin;
glm::vec2 scale;
float rotation;
glm::vec4 colour;
float alpha;
bool window_space;
bool maintain_ar;
texture_id texture;
};
#endif //SPRITE_H