Camera2D
This commit is contained in:
@ -3,6 +3,7 @@
|
||||
#include <Ground.hpp>
|
||||
|
||||
#include <IAEngine/ResourceManager.hpp>
|
||||
#include <IAEngine/Rendering/Camera.hpp>
|
||||
|
||||
#include <IACore/File.hpp>
|
||||
|
||||
@ -36,6 +37,7 @@ namespace ia::iae::game
|
||||
|
||||
VOID Game::Update()
|
||||
{
|
||||
g_tex->Draw({}, {1.0f, 1.0f, 1.0f}, 0.0f, false, false, {1.0f, 1.0f, 1.0f, 1.0f});
|
||||
g_tex->Draw({200.0f, 150.0f, 0.0f}, {1.0f, 1.0f, 1.0f}, 0.0f, false, false, {1.0f, 1.0f, 1.0f, 1.0f});
|
||||
iae::Renderer::GetCamera()->Position().x += 0.1f;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user