Skip to content

Commit

Permalink
Added license mention to Utils.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
TheArturZh committed May 13, 2020
1 parent bafd68e commit d384238
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/ReplicatedStorage/ProceduralMapGenerator/Utils.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
--[[
Copyright (c) 2020, Artur Zhidkov (TheArturZh)
--]]

local module = {}

--[[
This function is from ToLua project:
https://github.com/topameng/tolua/blob/master/Assets/ToLua/Lua/UnityEngine/Mathf.lua
Copyright (c) 2015 - 2016, 蒙占志(topameng) [email protected]
--]]
function module.inverse_lerp(from, to, value)
if from < to then
if value < from then
Expand Down

0 comments on commit d384238

Please sign in to comment.