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

Add enable_input so input control can be toggled. #5

Merged
merged 2 commits into from
Aug 8, 2022

Conversation

DGriffin91
Copy link
Contributor

No description provided.

FRAC_PI_2 - ANGLE_EPSILON,
);
input.pitch = (input.pitch - mouse_delta.y)
.clamp(-FRAC_PI_2 + ANGLE_EPSILON, FRAC_PI_2 - ANGLE_EPSILON);
Copy link
Owner

Choose a reason for hiding this comment

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

Some of this is kind of ugly but it's okay

@qhdwight
Copy link
Owner

qhdwight commented Aug 8, 2022

Lgtm, nice to make things consistent, plus most people use auto format on save as you said.

@qhdwight qhdwight merged commit cd55549 into qhdwight:main Aug 8, 2022
@qhdwight qhdwight added the enhancement New feature or request label Aug 8, 2022
@DGriffin91 DGriffin91 deleted the input_enable branch August 8, 2022 23:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants