Kym Vector Types #25
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Providing built-in 2-component and 3-component vector types in Ona script would be useful in catering to common math types used in interactive multi-media software development like games.
The alternative would be to implement them as a library feature that Ona binds to Ona script via the native runtime interface but that would make them heap-allocated objects, which for such a frequently used data type would be detrimental to overall application performance.
Further, we're already paying the cost for ~16 byte value types across the whole VM (much like stock Lua), so using of the space in the aligned memory of values we're already paying for would be advantageous.