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

[models] Draw mesh using Quaternion #4813

Open
4 tasks done
hyblocker opened this issue Mar 6, 2025 · 0 comments
Open
4 tasks done

[models] Draw mesh using Quaternion #4813

hyblocker opened this issue Mar 6, 2025 · 0 comments

Comments

@hyblocker
Copy link

Please, before submitting a new issue verify and check:

  • I tested it on latest raylib version from master branch
  • I checked there is no similar issue already reported
  • I checked the documentation on the wiki
  • My code has no errors or misuse of raylib

Issue description

Extend the Draw API in rmodels with support for specifying rotation using a Quaternion rather than Vector3 axis and float angle. The current APIs only allow one to draw a mesh using an axis angle rotation. There should be a similar API for drawing using a Quaternion, as it'd ease learning and also allow one to write code which avoids gimbal lock more easily.

Environment

raylib 5.5, Windows 11 24H2, RTX 4090, OpenGL 3.3.0

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

No branches or pull requests

1 participant