diff --git a/src/lol/algorithm/portal.h b/src/lol/algorithm/portal.h index 3954c16e..f09203de 100644 --- a/src/lol/algorithm/portal.h +++ b/src/lol/algorithm/portal.h @@ -12,6 +12,8 @@ #if !defined __LOL_PORTAL_H__ #define __LOL_PORTAL_H__ +#include /* for FLT_MAX */ + #include #include @@ -46,9 +48,9 @@ void Draw(PortalDoor& port, vec4 color) template class PortalDoor { - /*template*/ friend class PortalSet; - /*template*/ friend class PortalRoom; - /*template*/ friend void Debug::Draw(PortalDoor& port, vec4 color); + friend class PortalSet; + friend class PortalRoom; + friend void Debug::Draw(PortalDoor& port, vec4 color); private: void Init() @@ -244,8 +246,8 @@ private: template class PortalRoom { - /*template*/ friend class PortalSet; - /*template*/ friend class PortalDoor; + friend class PortalSet; + friend class PortalDoor; public: PortalRoom(TE* element=nullptr)