remove warnings, rebase fix

This commit is contained in:
jshipsey 2020-07-03 16:03:45 -04:00
parent e97be07e97
commit 014cab0257
4 changed files with 3 additions and 4 deletions

View File

@ -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,

View File

@ -1,5 +1,4 @@
use super::{super::Animation, QuadrupedLowSkeleton, SkeletonAttr};
use std::f32::consts::PI;
use vek::*;
pub struct JumpAnimation;

View File

@ -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;

View File

@ -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,