diff --git a/readme.txt b/readme.md similarity index 74% rename from readme.txt rename to readme.md index 803ed8d..9611799 100644 --- a/readme.txt +++ b/readme.md @@ -1,13 +1,13 @@ -Field of view algorithms in Lua. +# __Field of view algorithms in Lua.__ Two algorithms are available: - -Recursive shadowcasting - -Precise permissive +* Recursive shadowcasting +* Precise permissive -The demo requires LOVE. +**The demo requires LOVE.** -Example code: -```````````````````````````````````````````````````````````````````````` +__Example code:__ +```lua fov = require 'fov' -- Required callbacks: @@ -35,8 +35,8 @@ Example code: -- Calculate fov: fov(px,py,radius,isTransparent,onVisible, start_angle,last_angle,permissiveness) -```````````````````````````````````````````````````````````````````````` +``` More information can be found by searching: FOV using recursive shadowcasting - Björn Bergström -Precise permissive field of view - Jonathon Duerig \ No newline at end of file +Precise permissive field of view - Jonathon Duerig