403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.217.116
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/games/glest/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/games/glest/files/patch-source-shared_lib-include-graphics-math_util.h
--- ./source/shared_lib/include/graphics/math_util.h.bak	2014-08-10 15:21:32.000000000 -0400
+++ ./source/shared_lib/include/graphics/math_util.h	2014-08-10 15:23:08.000000000 -0400
@@ -23,6 +23,16 @@
 const float zero= 1e-6f;
 const float infinity= 1e6f;
 
+template <typename T>
+inline T max(const T& a, const T& b) {
+   return (b > a) ? b : a;
+}
+
+template <typename T>
+inline T min(const T& a, const T& b) {
+   return (b < a) ? b : a;
+}
+
 // =====================================================
 //	class Rect
 // =====================================================

Youez - 2016 - github.com/yon3zu
LinuXploit