first commit
This commit is contained in:
+24
@@ -0,0 +1,24 @@
|
||||
#pragma once
|
||||
|
||||
class Size
|
||||
{
|
||||
using PointType = long long;
|
||||
|
||||
public:
|
||||
Size(
|
||||
PointType width = 0,
|
||||
PointType height = 0
|
||||
);
|
||||
|
||||
PointType width() const;
|
||||
PointType height() const;
|
||||
|
||||
PointType& width();
|
||||
PointType& height();
|
||||
|
||||
PointType area() const;
|
||||
|
||||
private:
|
||||
PointType m_Width;
|
||||
PointType m_Height;
|
||||
};
|
||||
Reference in New Issue
Block a user