From 1001138092337b5784ca4ecb5e30274c40b65ac8 Mon Sep 17 00:00:00 2001 From: Chris Cripple Date: Fri, 13 Apr 2018 14:02:55 +0100 Subject: [PATCH] Update and rename readme.txt to readme.md --- readme.txt => readme.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) rename readme.txt => readme.md (74%) 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