renderpip/include/components/transform.hpp
saarsena@gmail.com 5c7d1905a9 first commit
2026-04-02 03:41:50 -04:00

25 lines
328 B
C++

/**
* @file transform.hpp
* @brief Transform components for position, velocity, and rotation
*/
#pragma once
struct Position {
float x = 0.0f;
float y = 0.0f;
};
struct Velocity {
float x = 0.0f;
float y = 0.0f;
};
struct Rotation {
float angle = 0.0f;
};
struct Scale {
float x = 1.0f;
float y = 1.0f;
};