zeus/include/CVector2i.hpp

35 lines
444 B
C++

#ifndef CVECTOR2i_HPP
#define CVECTOR2i_HPP
#include "Global.hpp"
#include "Math.hpp"
#if ZE_ATHENA_TYPES
#include <Athena/IStreamReader.hpp>
#endif
#include <math.h>
#include <assert.h>
namespace Zeus
{
class CVector2i
{
public:
union
{
struct
{
int x, y;
};
int v[2];
};
CVector2i() = default;
CVector2i(int xin, int yin) : x(xin), y(yin) {}
};
}
#endif // CVECTOR2i_HPP