summaryrefslogtreecommitdiffstats
path: root/src/Vector3.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-07-23Update submodulesTiger Wang1-8/+5
2020-05-10Cleanup some workarounds and warnings (#4735)peterbell101-3/+8
* Cleanup thread_local usage in FastRandom * Use constexpr to avoid clang warning * Fix more Wglobal-constructor warnings * Make MSVC happy?
2020-05-05Update fmt to 6.2.0 (#4718)peterbell101-16/+45
* Update fmt to 6.2.0
2020-04-18Extended Vector3 (#4666)Mattes D1-0/+10
2019-09-29Refactored more of Entities and BlockEntities to use Vector3. (#4403)Mattes D1-0/+24
2018-09-24Add a formatting function for Vector3 (#4282)peterbell101-0/+16
* Vector3: Add custom fmt compatible formatter. * cLuaState: Add fmt version of ApiParamError * Use vector formatting in manual bindings * Always log vectors with FLOG
2018-07-26CheckBasicStyle: Check number of empty lines between functions (#4267)peterbell101-1/+0
Add check for number of empty lines between functions and fix the corresponding failures
2017-08-28Add TOLUA_EXPOSITION for readabilitypeterbell101-1/+1
2017-08-28Cleanup Vector3 constructors and Abspeterbell101-34/+15
2017-08-03Remove double includes part 2 (#3890)peterbell101-5/+0
2016-07-18Vector3: Removed useless NormalizeCopy overload from LuaAPI.Mattes D1-1/+7
2016-06-10Normalized Vector3 API to use the same capitalization as all else.Mattes D1-6/+7
2016-04-22Updated vector hashing bit operationsLogicParrot1-6/+4
2016-02-05Bulk clearing of whitespaceLogicParrot1-4/+4
2015-12-18Reorganised the redstone simulatorTiger Wang1-0/+5
-> Many thanks to @worktycho for the idea, and @Haxi52 for the implementation plan! * Uses classes and inheritance now * Speed should be improved
2015-10-12Removed unused typedefworktycho1-1/+0
2015-06-07Vector hasher is now a separate classTiger Wang1-6/+22
2015-06-06Changed appropriate containers to unordered_mapTiger Wang1-0/+6
Thanks to @worktycho for guidance! * Potential speed improvements
2015-05-09Fixed remaing pragmasworktycho1-3/+3
2015-05-09clang diagnostic not diagnosticsworktycho1-3/+3
fixed clang pragmas
2015-05-09Fixed compiler warning overrides in Vector3.hWoazboat1-4/+4
2015-05-09Fixed some Visual Studio warningsTiger Wang1-10/+10
2015-05-08Added float comparison warning overrides to Vector3::hasNonZeroLengthWoazboat1-7/+16
2015-05-08Ignoring Clang warnings for strict float comparison in Vector::Equals()Woazboat1-1/+11
2015-05-08Changed Vector3 Equals function to avoid using memcmpWoazboat1-5/+1
2015-05-08Check for zero length vector in TraceWoazboat1-0/+5
Added hasNonZeroLength member function to Vector3
2015-05-05Revert "Small code cleanup"worktycho1-6/+5
2015-05-01A* Pathfinding and better monster AIwiseoldman951-0/+1
2015-04-29Fix HasNonZeroLength nameWoazboat1-1/+1
now 100% more cs compliant
2015-04-28Changed Vector3 Equals function to avoid using memcmpWoazboat1-5/+1
2015-04-28Check for zero length vector in TraceWoazboat1-0/+5
Added hasNonZeroLength member function to Vector3
2015-04-07Added extra divide operator to Vector3.STRWarrior1-0/+9
The multiply operator had one for both a different vector and a number, but the divide operator didn't.
2014-12-24Added Vector3::TurnCW() and Vector3::TurnCCW()Mattes D1-0/+16
2014-11-13First implementation for the LargeOakTreeSTRWarrior1-0/+15
2014-10-10Fixed MSVC compilation.Mattes D1-1/+0
2014-10-09Float/Ciel: If it's going to use C++11, it might as well take advantage of itarchshift1-3/+3
2014-10-09Use static casts instead of C casts, add floor-cast functionsarchshift1-17/+16
2014-09-04Revert "Globals.h: Added Floor and Ciel casting, C++ cast cleanups, etc"archshift1-16/+17
This reverts commit 472efa8174626a00ffdf5b39e1a44ac419cd3698. Apparently we don't support some of these features quite yet (darn you C++98!)
2014-09-04Globals.h: Added Floor and Ciel casting, C++ cast cleanups, etcarchshift1-17/+16
Snow Golems must also be above 64Y to spawn snow (as of 1.8).
2014-07-17Fixed spaces around single-line comments.madmaxoft1-1/+1
There should be at least two spaces in front and one space after //-style comments.
2014-07-10Fixed a missing "inline" keyword.madmaxoft1-1/+1
2014-07-10Fixed Vector3.h compilation in MSVC2008.madmaxoft1-0/+9
2014-07-04Compile fixTiger Wang1-1/+1
2014-07-04SuggestionsTiger Wang1-5/+5
2014-07-01Vector clamping fixesTiger Wang1-17/+16
Thank you, @madmaxoft.
2014-06-30Implemented Vector3<>::Floor()Tiger Wang1-8/+16
2014-06-29SuggestionsTiger Wang1-0/+14
2014-05-06Suggestions'd #2Tiger Wang1-0/+5
2014-05-04Removed convert-assign operator.madmaxoft1-8/+0
We want all conversions to be explicit, not hidden.
2014-05-03Removed the controversial Vector3::operator <.madmaxoft1-6/+0
It hasn't been used in any C++ code and Lua doesn't need it.
2014-05-03Fixed float comparison warnings in Vector3.madmaxoft1-5/+23
There's a bitwise comparison (Equals), and there's Eps-based comparison (EqualsEps).
2014-05-03Implemented a true assignment operator for Vector3.madmaxoft1-1/+9
2014-05-03cCHunkBuffer that compiles with TestGlobals.hTycho1-0/+2
2014-05-02Attempted fix for CLang warnings in Vector3.h.madmaxoft1-1/+9
C++11 seems to have deprecated classes that have custom copy-constructor but not a custom assignment operator.
2014-04-15Rewrote redstone powering to use power levelsTiger Wang1-0/+5
2014-03-25Added Vector3::Move(const Vector3 &).madmaxoft1-0/+7
2014-03-12Vector3: More castsandrew1-9/+9
2014-03-12M_PI MSVC Fixandrew1-1/+1
2014-03-12Vector3: Length() should always return a floatandrew1-9/+9
2014-03-11Matrix4: Removed enumandrew1-0/+6
2014-03-11Unified Matrix4 codeandrew1-1/+1
2014-03-11LineCoeff Docandrew1-4/+20
2014-03-11Unified Vector classesandrew1-0/+264