Skip to content

Commit

Permalink
animated derma menu
Browse files Browse the repository at this point in the history
  • Loading branch information
GlorifiedPig committed Aug 16, 2017
1 parent 4d9b91b commit b198664
Show file tree
Hide file tree
Showing 3 changed files with 541 additions and 66 deletions.
10 changes: 10 additions & 0 deletions lua/glorifiedbanking/libraries/cl_lerpvariants.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

function LerpColor( frac, from, to )
local col = Color(
Lerp( frac, from.r, to.r ),
Lerp( frac, from.g, to.g ),
Lerp( frac, from.b, to.b ),
Lerp( frac, from.a, to.a )
)
return col
end
Loading

0 comments on commit b198664

Please sign in to comment.