Skip to content
This repository was archived by the owner on Apr 29, 2025. It is now read-only.

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

Merged
thelindat merged 2 commits intooverextended:masterfrom
HeyyCzer:relative-coords
Jan 30, 2025
Merged

feat(relativeCoords): add lib.getRelativeCoords function#685
thelindat merged 2 commits intooverextended:masterfrom
HeyyCzer:relative-coords

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants