Set viewUpdated=true for macOS scroll wheel, open vulkanExamples window in front of Xcode, accept mouse click-through on macOS
This commit is contained in:
parent
8bc8d14cf2
commit
a184bd7007
3 changed files with 10 additions and 1 deletions
|
|
@ -107,6 +107,7 @@ void MVKExample::mouseDragged(double x, double y) {
|
|||
|
||||
void MVKExample::scrollWheel(short wheelDelta) {
|
||||
_vulkanExample->camera.translate(glm::vec3(0.0f, 0.0f, wheelDelta * 0.05f * _vulkanExample->camera.movementSpeed));
|
||||
_vulkanExample->viewUpdated = true;
|
||||
}
|
||||
|
||||
void MVKExample::fullScreen(bool fullscreen) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue