Skip to content

Commit 6490490

Browse files
author
Jakub Hlusička
committed
fixed the compiler panic
1 parent f2a750b commit 6490490

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/universe/d4/entity/camera.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ impl<F: CustomFloat> Camera<F, Point4<F>, Vector4<F>> for Camera4Impl<F> {
145145
self.max_depth
146146
}
147147

148-
fn update(&mut self, delta_time: &Duration, context: &SimulationContext, universe: &Universe<F, P=Point3<F>, V=Vector3<F>>) {
148+
fn update(&mut self, delta_time: &Duration, context: &SimulationContext, universe: &Universe<F, P=Point4<F>, V=Vector4<F>>) {
149149
self.update_rotation(context);
150150

151151
let pressed_keys: &HashSet<(u8, Option<VirtualKeyCode>)> = context.pressed_keys();

0 commit comments

Comments
 (0)