BVB Source Codes

CRYENGINE Show Utils.h Source code

Return Download CRYENGINE: download Utils.h Source code - Download CRYENGINE Source code - Type:.h
  1. // Copyright 2001-2016 Crytek GmbH / Crytek Group. All rights reserved.
  2.  
  3. #ifndef UTILS_H
  4. #define UTILS_H
  5.  
  6. #include <CrySystem/ISystem.h>
  7.  
  8. typedef Vec2d Vector2d;
  9.  
  10. // needed to use Vector2d in a map
  11. template<class F>
  12. bool operator<(const Vec2_tpl<F>& op1, const Vec2_tpl<F>& op2)
  13. {
  14.         if (op1.x < op2.x)
  15.                 return true;
  16.         else if (op1.x > op2.x)
  17.                 return false;
  18.         if (op1.y < op2.y)
  19.                 return true;
  20.         else
  21.                 return false;
  22. }
  23.  
  24. #endif
  25.  
downloadUtils.h Source code - Download CRYENGINE Source code
Related Source Codes/Software:
postal - 2017-06-11
reactide - Reactide is the first dedicated IDE for React web ... 2017-06-11
rkt - rkt is a pod-native container engine for Linux. It... 2017-06-11
uWebSockets - Tiny WebSockets https://for... 2017-06-11
realworld - TodoMVC for the RealWorld - Exemplary fullstack Me... 2017-06-11
CRYENGINE - CRYENGINE is a powerful real-time game development... 2017-06-11
goreplay - GoReplay is an open-source tool for capturing and ... 2017-06-10
pyenv - Simple Python version management 2017-06-10
redux-saga - An alternative side effect model for Redux apps ... 2017-06-10
angular-starter - 2017-06-10

 Back to top