Range2D and Range3D
This commit is contained in:
11
src/core/Range2D.h
Normal file
11
src/core/Range2D.h
Normal 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();
|
||||
};
|
||||
Reference in New Issue
Block a user