Kyjor / JulGame.jl

JulGame is a game engine based on the Julia programming language with the help of SDL2.
https://docs.kyjor.io/JulGame.jl
The Unlicense
94 stars 3 forks source link

refactoring Math/Lerp.jl switching Number type to Real #38

Closed achengli closed 6 months ago

achengli commented 6 months ago

Hello @Kyjor again!

I did another refactoring on Lerp and SmoothLerp Linear interpolation functions modifying the input types from Number to Real (Number type does even understand Complex numbers) .