mirror of
https://github.com/hannobraun/Fornjot
synced 2025-07-05 17:46:08 +00:00
Update name of function
This commit is contained in:
parent
c12e7dfd5e
commit
3ac63e6d5a
@ -16,7 +16,12 @@ impl InputHandler {
|
||||
) {
|
||||
match event {
|
||||
InputEvent::Translation { previous, current } => {
|
||||
movement::apply(previous, current, focus_point, camera);
|
||||
movement::apply_translation(
|
||||
previous,
|
||||
current,
|
||||
focus_point,
|
||||
camera,
|
||||
);
|
||||
}
|
||||
InputEvent::Rotation { angle_x, angle_y } => {
|
||||
Rotation::apply(angle_x, angle_y, focus_point, camera);
|
||||
|
@ -5,7 +5,7 @@ use crate::{
|
||||
screen::NormalizedScreenPosition,
|
||||
};
|
||||
|
||||
pub fn apply(
|
||||
pub fn apply_translation(
|
||||
previous: NormalizedScreenPosition,
|
||||
current: NormalizedScreenPosition,
|
||||
focus_point: FocusPoint,
|
||||
|
Loading…
x
Reference in New Issue
Block a user