first commit
This commit is contained in:
commit
5c7d1905a9
25 changed files with 4034 additions and 0 deletions
25
include/components/transform.hpp
Normal file
25
include/components/transform.hpp
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
/**
|
||||
* @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;
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue