Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FPS cam #1390

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

FPS cam #1390

wants to merge 8 commits into from

Conversation

Roxxik
Copy link
Contributor

@Roxxik Roxxik commented Jan 2, 2016

Code is mostly taken from tutorial-12.rs with added Camera

Controlled by Mouse and WASD. Up is Space, Down is LShift, Cam can be controlled by Arrowkeys, too

@tomaka
Copy link
Member

tomaka commented Jan 5, 2016

The teapot example was supposed to have an FPS camera. It's not totally implemented because I was lazy, but that was the project initially.

Sorry if that wastes your work, but what about modifying support/mod.rs instead?

@Roxxik
Copy link
Contributor Author

Roxxik commented Jan 5, 2016

I don't think it'd be wasted work, because i can just rewrite it to fit in support/camera.rs

@indiv0 indiv0 mentioned this pull request May 13, 2016
4 tasks
cam
}

pub fn at(pos: [f32; 3], target: [f32; 3]) -> CameraState {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe it's sensible to use nalgebra or similar for the examples?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants