mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Fix hotloading and Clippy.
This commit is contained in:
parent
3dc973e0be
commit
16aa9ef40a
@ -107,7 +107,7 @@ pub fn compute_matrices<S: Skeleton>(
|
||||
|
||||
let compute_fn: libloading::Symbol<
|
||||
fn(&S, Mat4<f32>, &mut [FigureBoneData; MAX_BONE_COUNT]) -> Vec3<f32>,
|
||||
> = unsafe { lib.get(Self::COMPUTE_FN) }.unwrap_or_else(|e| {
|
||||
> = unsafe { lib.get(S::COMPUTE_FN) }.unwrap_or_else(|e| {
|
||||
panic!(
|
||||
"Trying to use: {} but had error: {:?}",
|
||||
CStr::from_bytes_with_nul(S::COMPUTE_FN)
|
||||
|
@ -416,7 +416,6 @@ impl FigureMgr {
|
||||
visible_psr_bounds: math::Aabr<f32>,
|
||||
camera: &Camera,
|
||||
) -> anim::vek::Aabb<f32> {
|
||||
let visible_psr_bounds = math::Aabr::from(visible_psr_bounds);
|
||||
let state = scene_data.state;
|
||||
let time = state.get_time();
|
||||
let tick = scene_data.tick;
|
||||
|
Loading…
Reference in New Issue
Block a user