mirror of
https://github.com/zeldaret/ss
synced 2026-07-09 06:13:17 -04:00
Introduce mVec2_c
This commit is contained in:
@@ -1,23 +0,0 @@
|
||||
#ifndef D_LYT_VEC2F_H
|
||||
#define D_LYT_VEC2F_H
|
||||
|
||||
#include "common.h"
|
||||
|
||||
// This better not be mVec2_c or something stupid
|
||||
struct LytVec2f {
|
||||
LytVec2f() {}
|
||||
~LytVec2f() {}
|
||||
|
||||
LytVec2f(const LytVec2f &other) {
|
||||
set(other.x, other.y);
|
||||
}
|
||||
void set(f32 fx, f32 fy) {
|
||||
x = fx;
|
||||
y = fy;
|
||||
}
|
||||
|
||||
f32 x;
|
||||
f32 y;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user