Draw List works now
This commit is contained in:
@@ -20,6 +20,8 @@ using namespace Seele;
|
||||
bool usePositionOnly = false;
|
||||
bool useViewCulling = false;
|
||||
bool useLightCulling = false;
|
||||
bool resetVisibility = false;
|
||||
|
||||
|
||||
GameView::GameView(Gfx::PGraphics graphics, PWindow window, const ViewportCreateInfo &createInfo, std::string dllPath)
|
||||
: View(graphics, window, createInfo, "Game")
|
||||
@@ -122,6 +124,10 @@ void GameView::keyCallback(KeyCode code, InputAction action, KeyModifier modifie
|
||||
useLightCulling = !useLightCulling;
|
||||
std::cout << "Use Light Culling " << useLightCulling << std::endl;
|
||||
}
|
||||
if (code == KeyCode::KEY_R && action == InputAction::RELEASE)
|
||||
{
|
||||
resetVisibility = true;
|
||||
}
|
||||
}
|
||||
|
||||
void GameView::mouseMoveCallback(double xPos, double yPos)
|
||||
|
||||
Reference in New Issue
Block a user