mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
remove warnings, rebase fix
This commit is contained in:
parent
e97be07e97
commit
014cab0257
@ -4,7 +4,7 @@ use crate::{
|
||||
agent::Activity,
|
||||
item::{tool::ToolKind, ItemKind},
|
||||
Agent, Alignment, CharacterState, ChatMsg, ControlAction, Controller, Loadout, MountState,
|
||||
Ori, Pos, Scale, Stats,
|
||||
Ori, Pos, Scale, Stats, Vel,
|
||||
},
|
||||
event::{EventBus, ServerEvent},
|
||||
path::Chaser,
|
||||
|
@ -1,5 +1,4 @@
|
||||
use super::{super::Animation, QuadrupedLowSkeleton, SkeletonAttr};
|
||||
use std::f32::consts::PI;
|
||||
use vek::*;
|
||||
|
||||
pub struct JumpAnimation;
|
||||
|
@ -1,5 +1,5 @@
|
||||
use super::{super::Animation, QuadrupedLowSkeleton, SkeletonAttr};
|
||||
use std::{f32::consts::PI, ops::Mul};
|
||||
use std::f32::consts::PI;
|
||||
use vek::*;
|
||||
|
||||
pub struct RunAnimation;
|
||||
|
@ -985,7 +985,7 @@ impl FigureMgr {
|
||||
(false, _, false) => {
|
||||
anim::quadruped_medium::JumpAnimation::update_skeleton(
|
||||
&QuadrupedMediumSkeleton::new(),
|
||||
(time),
|
||||
time,
|
||||
state.state_time,
|
||||
&mut state_animation_rate,
|
||||
skeleton_attr,
|
||||
|
Loading…
Reference in New Issue
Block a user