You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
56 lines
1.4 KiB
C++
56 lines
1.4 KiB
C++
|
4 years ago
|
/******************************************************************************
|
||
|
|
* File - tester.cpp
|
||
|
|
* Author - Joey Pollack
|
||
|
|
* Date - 2021/09/15 (y/m/d)
|
||
|
|
* Mod Date - 2021/09/15 (y/m/d)
|
||
|
|
* Description - Run a series of tests to verify engine functionality
|
||
|
|
******************************************************************************/
|
||
|
|
|
||
|
|
#include "tester.h"
|
||
|
|
|
||
|
|
namespace lunarium
|
||
|
|
{
|
||
|
|
Tester::Tester()
|
||
|
|
{
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
OpRes Tester::Initialize()
|
||
|
|
{
|
||
|
|
return OpRes::Fail("Tester::Initialize not implemented");
|
||
|
|
}
|
||
|
|
|
||
|
|
void Tester::Shutdown()
|
||
|
|
{
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
void Tester::OnTick(double delta)
|
||
|
|
{
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
void Tester::OnRender()
|
||
|
|
{
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
// DEBUG: Graphics testing
|
||
|
|
// static int width = 500;
|
||
|
|
// if (mpInput->IsKeyDown(KeyCode::LEFT))
|
||
|
|
// {
|
||
|
|
// width -= 10;
|
||
|
|
// }
|
||
|
|
|
||
|
|
// if (mpInput->IsKeyDown(KeyCode::RIGHT))
|
||
|
|
// {
|
||
|
|
// width += 10;
|
||
|
|
// }
|
||
|
|
|
||
|
|
// mpGraphics->DrawFilledEllipse(glm::vec2(600, 300), glm::vec2(100, 150), Color(1.0f, 0.0f, 1.0f, 1.0f), 100);
|
||
|
|
// mpGraphics->DrawString("This is a test of the text renderer!", Rectangle(100, 200, width, 300),
|
||
|
|
// Color(0.0f, 1.0f, 1.0f, 1.0f), 0.5f, mpGraphics->DefaultFont());
|
||
|
|
|
||
|
|
// mpGraphics->DrawImage(*pImage, glm::vec2(0.0f, 0.0f), Color(1.0f, 1.0f, 1.0f, 1.0f));
|