renderpip/include/components/transform.hpp

26 lines
328 B
C++
Raw Normal View History

2026-04-02 03:41:50 -04:00
/**
* @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;
};