1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2024-11-08 08:47:17 +01:00
SqMod/source/Misc/WorldBounds.hpp
2015-11-01 05:48:01 +02:00

111 lines
3.4 KiB
C++

#ifndef _MISC_WORLD_BOUNDS_HPP_
#define _MISC_WORLD_BOUNDS_HPP_
// ------------------------------------------------------------------------------------------------
#include "Common.hpp"
#include "Base/Vector2f.hpp"
// ------------------------------------------------------------------------------------------------
namespace SqMod {
/* ------------------------------------------------------------------------------------------------
* ...
*/
struct CWorldBounds
{
/* --------------------------------------------------------------------------------------------
* ...
*/
Vector2f min, max;
/* --------------------------------------------------------------------------------------------
* ...
*/
CWorldBounds();
/* --------------------------------------------------------------------------------------------
* ...
*/
CWorldBounds(const Vector2f & vec);
/* --------------------------------------------------------------------------------------------
* ...
*/
CWorldBounds(const Vector2f & min, const Vector2f & max);
/* --------------------------------------------------------------------------------------------
* ...
*/
CWorldBounds(const CWorldBounds & x);
/* --------------------------------------------------------------------------------------------
* ...
*/
CWorldBounds(CWorldBounds && x);
/* --------------------------------------------------------------------------------------------
* ...
*/
~CWorldBounds();
/* --------------------------------------------------------------------------------------------
* ...
*/
CWorldBounds & operator= (const CWorldBounds & x);
/* --------------------------------------------------------------------------------------------
* ...
*/
CWorldBounds & operator= (CWorldBounds && x);
/* --------------------------------------------------------------------------------------------
* ...
*/
CWorldBounds operator+ (const CWorldBounds & x) const;
/* --------------------------------------------------------------------------------------------
* ...
*/
CWorldBounds operator- (const CWorldBounds & x) const;
/* --------------------------------------------------------------------------------------------
* ...
*/
CWorldBounds operator* (const CWorldBounds & x) const;
/* --------------------------------------------------------------------------------------------
* ...
*/
CWorldBounds operator/ (const CWorldBounds & x) const;
/* --------------------------------------------------------------------------------------------
* ...
*/
bool operator== (const CWorldBounds & x) const;
/* --------------------------------------------------------------------------------------------
* ...
*/
bool operator!= (const CWorldBounds & x) const;
/* --------------------------------------------------------------------------------------------
* ...
*/
SQInteger Cmp(const CWorldBounds & x) const;
/* --------------------------------------------------------------------------------------------
* ...
*/
void Set() const;
/* --------------------------------------------------------------------------------------------
* ...
*/
void Get() const;
};
} // Namespace:: SqMod
#endif // _MISC_WORLD_BOUNDS_HPP_