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

feat(relativeCoords): add lib.getRelativeCoords function #685

Merged
merged 2 commits into from
Jan 30, 2025

Conversation

HeyyCzer
Copy link
Contributor

Added the lib.getRelativeCoords function, which is useful for obtaining relative coordinates on the server-side, as GetOffsetFromCoordAndHeadingInWorldCoords native is only available on the client-side.

HeyyCzer and others added 2 commits December 31, 2024 17:11
Return a vec3/vec4 based on the type of coords, and allow
heading to use either coords.w or heading (if defined).
Minor performance improvements.
@thelindat thelindat merged commit 5c0239b into overextended:master Jan 30, 2025
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.

2 participants