Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 4badf9a

Browse files
committed
Update 014-mouse-look.rs
1 parent 15baf23 commit 4badf9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/bin/014-mouse-look.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ impl EulerFPSCamera {
378378
let cross_normalized = forward.cross(Self::UP).normalized();
379379
let mut move_vector = keys.iter().fold(
380380
Vec3 { x: 0.0, y: 0.0, z: 0.0 },
381-
|vec, key| match *key {
381+
|vec, key| match *key as beryllium::fermium::_bindgen_ty_7{
382382
beryllium::fermium::SDLK_w => vec + forward,
383383
beryllium::fermium::SDLK_s => vec - forward,
384384
beryllium::fermium::SDLK_a => vec - cross_normalized,

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /