mirror of
https://github.com/neoStudiosLCE/neoLegacy.git
synced 2026-07-09 18:17:01 +00:00
20 lines
268 B
C++
20 lines
268 B
C++
#pragma once
|
|
|
|
class Vec3i
|
|
{
|
|
protected:
|
|
int x;
|
|
int y;
|
|
int z;
|
|
|
|
public:
|
|
Vec3i(int x, int y, int z);
|
|
virtual ~Vec3i() = default;
|
|
|
|
int getX() const;
|
|
int getY() const;
|
|
int getZ() const;
|
|
|
|
|
|
double distSqr(const Vec3i& other) const;
|
|
}; |