mirror of
https://github.com/storytold/storyteller-bevy.git
synced 2026-10-17 00:13:17 +00:00
first step to 0.13
This commit is contained in:
@@ -309,8 +309,8 @@ fn do_pan(
|
||||
};
|
||||
|
||||
// Pan along local XY plane, with the distance scaled by the radius
|
||||
let up = xform.up();
|
||||
let left = xform.left();
|
||||
let up = xform.up().xyz();
|
||||
let left = xform.left().xyz();
|
||||
let delta = (pan.y * up + pan.x * left) * controller.radius;
|
||||
|
||||
// Update camera translation and focus point
|
||||
|
||||
Reference in New Issue
Block a user