mirror of
https://github.com/zeldaret/tp
synced 2026-06-05 11:18:35 -04:00
2f4904dae2
* move d_a_itembase_static * move d_a_item_static * moved Z2StatusMgr * clang * fixes * clang? * move d_save * move d_meter2_info * some d_meter2_info fixes * move most d_a_player * move d_bg_s stuff * move c_cc_s stuff * move d_cc stuff * move d_attention / d_event / d_stage
17 lines
427 B
C
17 lines
427 B
C
#ifndef VEC_H
|
|
#define VEC_H
|
|
|
|
#include "dolphin/types.h"
|
|
|
|
struct Vec {
|
|
float x, y, z;
|
|
float GetX() const { return x; }
|
|
float GetY() const { return y; }
|
|
float GetZ() const { return z; }
|
|
float getXDiff(const Vec* other) const { return x - other->x; }
|
|
float getYDiff(const Vec* other) const { return y - other->y; }
|
|
float getZDiff(const Vec* other) const { return z - other->z; }
|
|
};
|
|
|
|
#endif /* VEC_H */
|