xyz_math Lua library API reference. Use when writing Lua code that uses xyz_math types (XVec2, XVec3, XVec4, XMat3, XMat4, XQuat, XRay, XPlane, XBoundingSphere, XAABox, XTriangle, XCapsule, XOBB, XBezier3, XCatmullRom, XFrustum, XColor, XCircle, XRect2D, XSegment2D, XPolygon2D, XNoise2D, XNoise3D) or utility functions (XLerp, XClamp, XMin, XMax, XSmoothstep, etc.).
2026-02-23