Pre-resize fillparent

This commit is contained in:
2018-08-13 22:22:10 -04:00
parent 58fa6f0503
commit 353dc21750
95 changed files with 478 additions and 437 deletions
@@ -14,6 +14,7 @@ cCollision::~cCollision()
{
}
/// Functions
/*static*/ const bool cCollision::BoundingBox( const SDL_Rect& a, const SDL_Rect& b )
{
if ((b.x + b.w) < a.x)
@@ -21,7 +21,7 @@ namespace MathEngine {
cCollision();
~cCollision();
public:
///Functions
/// Functions
static const bool BoundingBox( const SDL_Rect& a, const SDL_Rect& b );
static const bool BoundingBox( const Vector4& a, const Vector4& b );
static const bool BoundingBox( const SDL_Rect& a, const Vector4& b );
@@ -16,6 +16,7 @@ cRandom::cRandom()
cRandom::~cRandom()
{}
/// Functions
/*static*/ cRandom& cRandom::Inst()
{
if (sp_inst == nullptr)
@@ -16,7 +16,7 @@ namespace MathEngine {
~cRandom();
public:
///Functions
/// Functions
static cRandom& Inst();
static void Delete();
@@ -26,7 +26,7 @@ namespace MathEngine {
const float Rand( const float max, const float min = 0.0f ) const;
private:
static cRandom* sp_inst;// = nullptr
static cRandom* sp_inst;/// = nullptr
};/// END CLASS DEFINITION cRandom
}/// END NAMESPACE DEFINITION MathEngine
#endif/// END IFNDEF _CRANDOM_HPP_