recastnavigation / recastnavigation

Industry-standard navigation-mesh toolset for games

Home Page:http://recastnav.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Inaccessible website links in source code

Prin-E opened this issue · comments

commented

In RecastMesh.cpp:37, DetourTileCacheBuilder.cpp:893, RecastAssert.h:24, DetourAsset.h:27, there're inaccessible websites linked in comments.

http://www.terathon.com/code/edges.php
-> I found a replacement link (http://foundationsofgameenginedev.com/FGED2-code.cpp), Listing 8.11

http://cnicholson.net/2009/02/stupid-c-tricks-adventures-in-assert/
-> I couldn't find related documents :(

p.s - I am curious how dtAssert()/rcAssert() works mentioned from the second link.
# define dtAssert(x) do { (void)sizeof(x); } while((void)(__LINE__==-1),false)

Thanks for checking these! I suspect most of these links are from the original implementation many years ago. There's internet archive versions of these pages that might be more stable to link to in the long term. E.g. https://web.archive.org/web/20080704083314/http://www.terathon.com/code/edges.php

Here's a copy of the assert article that explains how this stuff works. It's all a bit esoteric but there's logic behind it! 😜 https://web.archive.org/web/20210117002833/http://cnicholson.net/2009/02/stupid-c-tricks-adventures-in-assert/