Pinned Loading
-
Textadept: Outlining code using ctags
Textadept: Outlining code using ctags 1---
23# Textadept Ctags/Outline Functionality
45![Screenshot from 2023-08-26 22-28-43](https://user-images.githubusercontent.com/4016359/263517239-09a1b443-4de8-440d-9a36-b1681b5e7119.png)
-
Lua Minimal Vector Lib (2D)
Lua Minimal Vector Lib (2D) 1# Vector Library Examples
23The **Vector Library** (`vec.lua`) provides a set of functionalities for working with 2D vectors in Lua. This document presents several examples showcasing the usage of various methods and operations available in the library.
45## Basic Vector Operations
-
Perlin Lua
Perlin Lua 1local function mix(a, b, t) return (t * (b - a)) + a end
2local function mod(a, b) return ((a % b) + b) % b end
3local function fract(x) return x - math.floor(x) end
4local function clamp(a, b, c) return math.min(math.max(a, b), c) end
5local function dot(a, b)
-
-
-
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.