Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 194 Bytes

utils.md

File metadata and controls

12 lines (9 loc) · 194 Bytes

shard.utils

Utility functions

local Utils = require("shard.utils")

Utils.clamp(number, min, max)

Clamps number

Utils.lerp(from, to, progress)

Lerps number by progress (0-1)