Vector library

From GiderosMobile
Revision as of 02:21, 1 February 2026 by MoKaLux (talk | contribs) (Created page with "__NOTOC__ <!-- GIDEROSOBJ:vector --> '''Supported platforms:''' File:Platform android.pngFile:Platform ios.pngFile:Platform mac.pngFile:Platform pc.pngFile:P...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Supported platforms: Platform android.pngPlatform ios.pngPlatform mac.pngPlatform pc.pngPlatform linux.png
Available since: Gideros 2026.1

Description

This library implements functionality for the vector type in addition to the built-in primitive operator support. Default configuration uses vectors with 3 components (x, y, and z). If the 4-wide mode is enabled by setting the LUA_VECTOR_SIZE VM configuration to 4, vectors get an additional w component.

Reference

https://luau.org/library/#vector-library

Methods

dofile executes as Lua chunk, default stdin, returns value
error terminates protected func, never returns

Events

Constants