add cubes
This commit is contained in:
@@ -170,6 +170,8 @@ bool Rubiks::onEvent(const Archimedes::Event& e) {
|
||||
|
||||
Archimedes::ScrollWindowEvent event = (Archimedes::ScrollWindowEvent&) e;
|
||||
|
||||
camera.moveRel(glm::vec3(0.0f, 0.0f, event.dy));
|
||||
|
||||
return true;
|
||||
} else if(type == app->getEventType(Archimedes::MouseMovedWindowEvent()) && !io.WantCaptureMouse) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user