DreamWeave-MP / CoreScripts

The serverside Lua scripts used to implement core functionality in S3MP.
MIT License
0 stars 1 forks source link

feat: vec3 implemented directly into server core #16

Closed YvanCywan closed 1 year ago

YvanCywan commented 1 year ago

Implemented Vec3 data type (it's a metatable, but this is the closest way we can emulate a data type in lua) that includes basic arithmetic for vectors:

The idea of these is to reduce the barrier to entry for script development. This could eventually truncate the positional functions into a singular function.