Range2D and Range3D

This commit is contained in:
Sergeanur
2020-06-03 04:45:25 +03:00
parent 04a91761df
commit 2df44208dd
4 changed files with 67 additions and 0 deletions

11
src/core/Range2D.h Normal file
View File

@@ -0,0 +1,11 @@
#pragma once
class CRange2D
{
CVector2D min, max;
public:
CRange2D(CVector2D _min, CVector2D _max);
bool IsInRange(CVector2D vec);
void DebugShowRange(float, int);
CVector2D GetRandomPointInRange();
};