Jump to content

Hornet

Member
  • Posts

    2
  • Joined

  • Last visited

  • Feedback

    0%

About Hornet

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Hornet's Achievements

Enthusiast

Enthusiast (6/16)

  • First Post
  • Dedicated
  • Reacting Well
  • One Year In
  • Week One Done

Recent Badges

0

Reputation

  1. i have same problem, but for dump_proto when i try to compile it! error C2146: syntax error : missing ';' before identifier 'T' _src\client\gamelib\../eterBase/Utils.h(223): error C2146: syntax error : missing ';' before identifier 'LinearInterpolation' _src\client\gamelib\../eterBase/Utils.h(223): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int _src\client\gamelib\../eterBase/Utils.h(223): error C2143: syntax error : missing ',' before '&' _src\client\gamelib\../eterBase/Utils.h(226): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int _src\client\gamelib\../eterBase/Utils.h(229): error C2146: syntax error : missing ';' before identifier 'T' src\client\gamelib\../eterBase/Utils.h(229): error C2146: syntax error : missing ';' before identifier 'HermiteInterpolation' _src\client\gamelib\../eterBase/Utils.h(229): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int _src\client\gamelib\../eterBase/Utils.h(229): error C2143: syntax error : missing ',' before '&' _src\client\gamelib\../eterBase/Utils.h(234): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int Utils.h #include "../UserInterface/Locale_inc.h" #ifdef ENABLE_MAP_OBJECT_OPTIMIZATION template<typename T> constexpr T LinearInterpolation(const T& tMin, const T& tMax, float fRatio) { return T((1.0f - fRatio) * tMin + fRatio * tMax); } template<typename T> constexpr T HermiteInterpolation(const T& tMin, const T& tMax, float fRatio) { fRatio = MINMAX(0.0f, fRatio, 1.0f); fRatio = fRatio * fRatio * (3.0f - 2.0f * fRatio); return LinearInterpolation(tMin, tMax, fRatio); } #endif
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.