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

Quaternions, Cameras and Maths in general #2

Open
Lachee opened this issue Oct 5, 2020 · 0 comments
Open

Quaternions, Cameras and Maths in general #2

Lachee opened this issue Oct 5, 2020 · 0 comments
Labels
Hacktoberfest Tasks for the hacktoberfest event help wanted Extra attention is needed

Comments

@Lachee
Copy link
Owner

Lachee commented Oct 5, 2020

Quaternions need to be added to the project. I have been struggling for some time behind the maths now and I cannot seem to get it right.

The general gist of what needs to be done:
Quaternions need to be implemented and confirmed working
Matrix need to work with Quaternions
A basic camera script that can show off the Quaternions, with function such as LookAt.

Ideally, quaternions should follow the same paradigms already established with Vectors, with maths and normalize. Additional functions to include are:

  • Angle - Angle between two rotations
  • Euler - Rotation in degrees
  • FromToRotation - Rotation from a direction, to another direction
  • Inverse - inverse of the rotation
  • Lerp - Interpolation between quaternions
  • Slerp - Spherical interpolation
  • LookRotation - Rotation that points forward at a particular point in space.
@Lachee Lachee added help wanted Extra attention is needed Hacktoberfest Tasks for the hacktoberfest event labels Oct 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Hacktoberfest Tasks for the hacktoberfest event help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant