Support iOS touch gestures and iOS Simulator target, reduce translate sensitivity, use key chars vs. key codes in Xcode examples project
This commit is contained in:
parent
ae8ad09f6e
commit
8080b7a91b
9 changed files with 165 additions and 85 deletions
|
|
@ -2793,7 +2793,7 @@ void VulkanExampleBase::handleMouseMove(int32_t x, int32_t y)
|
|||
viewUpdated = true;
|
||||
}
|
||||
if (mouseButtons.middle) {
|
||||
camera.translate(glm::vec3(-dx * 0.01f, -dy * 0.01f, 0.0f));
|
||||
camera.translate(glm::vec3(-dx * 0.005f, -dy * 0.005f, 0.0f));
|
||||
viewUpdated = true;
|
||||
}
|
||||
mousePos = glm::vec2((float)x, (float)y);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue