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

Extended math lib #2391

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

Extended math lib #2391

wants to merge 11 commits into from

Conversation

cNori
Copy link
Contributor

@cNori cNori commented Apr 3, 2024

Added
C# and c++

Quaternion.GetRotationFromNormal
A special function for converting normal from ray cast to the rotation
When normal is axis-aligned, the Quaternion. Direction is not enough

Transform. AlignRotationToNormalAndSnapToGrid
Advanced function for snapping to grid with is in local space and aligning to normal vector

Vector3. SnapToRotatedGrid
function for snapping to grid with is in local space

Vector3. SnapToRotatedGridWithOffset
function for snapping to grid with is in local space with offset in local space

added missing
C++ was missing snap to grid function

cNori and others added 6 commits April 3, 2024 04:53
added
GetRotacionFromNormal
AlignRotacionToNormalAndSnapToGrid
SnapToRotatedGrid
SnapToRotatedGridWithOffset
Co-Authored-By: Menotdan <32620310+Menotdan@users.noreply.github.com>
@mafiesto4 mafiesto4 added enhancement New feature or request core labels Apr 4, 2024
@mafiesto4 mafiesto4 added this to the 1.9 milestone Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants