prime/include/Kyoto/Math/CVector3f.hpp

22 lines
389 B
C++
Raw Normal View History

2022-04-16 07:50:32 +00:00
#ifndef __CVECTOR3F_HPP__
#define __CVECTOR3F_HPP__
#include "types.h"
2022-04-16 07:50:32 +00:00
class CVector3f {
public:
2022-08-13 01:26:00 +00:00
CVector3f() : mX(0.f), mY(0.f), mZ(0.f) {}
explicit CVector3f(f32 x, f32 y, f32 z) : mX(x), mY(y), mZ(z) {}
f32 GetX() const { return mX; }
f32 GetY() const { return mY; }
f32 GetZ() const { return mZ; }
// private:
f32 mX;
f32 mY;
f32 mZ;
2022-04-16 07:50:32 +00:00
};
#endif // __CVECTOR3F_HPP__