21 lines
284 B
C
21 lines
284 B
C
// vim:fileencoding=utf-8:foldmethod=marker
|
|
|
|
#ifndef PROPS_H
|
|
#define PROPS_H
|
|
|
|
#include "entity_id.h"
|
|
#include "wapp/wapp.h"
|
|
|
|
typedef struct Vec2f {
|
|
f32 x;
|
|
f32 y;
|
|
} Vec2f;
|
|
|
|
typedef struct Transform2D {
|
|
Vec2f position;
|
|
Vec2f scale;
|
|
f32 rotation;
|
|
} Transform2D;
|
|
|
|
#endif // !PROPS_H
|