You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One feature that would be helpful would be a simple component-wise mapping function. Useful for performing operations that aren't built-in by default, such as bitwise operations, or more complex operations that are conditional based on the component's current value.
Example Usage:
Vector3i blockPos = getBlockPosition();
Vector3i chunkPos = vec.map(c -> c >> 4, new Vector3i());
Implementation would be rather straightforward, I imagine.
One feature that would be helpful would be a simple component-wise mapping function. Useful for performing operations that aren't built-in by default, such as bitwise operations, or more complex operations that are conditional based on the component's current value.
Example Usage:
Implementation would be rather straightforward, I imagine.
Currently, this can easily be done with utility functions, but it would be a nice quality-of-life feature.
The text was updated successfully, but these errors were encountered: