mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-09-02 02:08:36 +00:00
18 lines
294 B
C++
18 lines
294 B
C++
#ifndef __CVECTOR2F_HPP__
|
|
#define __CVECTOR2F_HPP__
|
|
|
|
|
|
class CVector2f {
|
|
public:
|
|
explicit CVector2f(float x, float y) : mX(x), mY(y) {}
|
|
|
|
float GetX() const { return mX; }
|
|
float GetY() const { return mY; }
|
|
|
|
private:
|
|
float mX;
|
|
float mY;
|
|
};
|
|
|
|
#endif // __CVECTOR3F_HPP__
|