summaryrefslogtreecommitdiffstats
path: root/src/Cuboid.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-08-28cCuboid: restore default copy construct and assign.peterbell101-22/+0
2017-08-28Repair the removed constructor of cCuboid `cCuboid(otherCuboid)` (#3966)Bastien ADAM1-2/+6
* Repair the removed constructor of cCuboid `cCuboid(const cCuboid & a_Cuboid) : p1(a_Cuboid.p1), p2(a_Cuboid.p2) {}` * Update Cuboid.cpp * Update Cuboid.h
2017-08-17Changed int parameters to vector parameters in cCuboid and simulators (#3874)Lane Kolbly1-8/+1
2017-08-13Shortened DoIntervalsIntersect to two comparisons, made inline. (#3883)Lane Kolbly1-31/+0
* Shortened DoIntervalsIntersect to two comparisons, made inline. * Applied DeMorgan's * a_Max1 => a_Max2 * Moved DoIntervalsIntersect definition into header file. * Moved DoesIntersect into header. * Unindented line
2016-02-05Bulk clearing of whitespaceLogicParrot1-4/+4
2015-07-31Unified the doxy-comment format.Mattes D1-1/+1
2014-08-03Fixed a ToLua warning - operator = not supported.madmaxoft1-1/+1
2014-07-21Cuboid: added explicit copy assignment operatorarchshift1-0/+11
2014-07-17Normalized comments.madmaxoft1-1/+1
This was mostly done automatically and then visually inspected for obvious errors. All //-style comments should have a 2-space separation from the code, and 1 space after the comment sign.
2014-03-15Added cCuboid:Assign(OtherCuboid) API function.madmaxoft1-0/+14
2014-03-09Hardened cCuboid with asserts for its assumptions.madmaxoft1-0/+6
2014-03-09Added cCuboid::Engulf().madmaxoft1-0/+34
2014-02-26Added more utility functions to cCuboid.madmaxoft1-0/+82
GetVolume(), Expand(), ClampX(), ClampY(), ClampZ()
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-03-31cCuboid: Added the IsCompletelyInside() functionmadmaxoft@gmail.com1-0/+16
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1339 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-31Added cCuboid:Assign() and cChunkDesc:FloorRelCuboid()madmaxoft@gmail.com1-0/+14
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1333 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-29Cuboid: Fixed intersection calculationmadmaxoft@gmail.com1-1/+14
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1325 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-29Cuboid: Added DoesIntersect(), more IsInside() and more constructorsmadmaxoft@gmail.com1-1/+47
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1323 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-29Cuboid: Added the DifX/Y/Z functionsmadmaxoft@gmail.com1-3/+12
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1320 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-24Source files cleanup: The rest of the files renamed.madmaxoft@gmail.com1-1/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@887 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-14Attempt to bring sanity to newlines across systems.cedeel@gmail.com1-19/+19
git-svn-id: http://mc-server.googlecode.com/svn/trunk@606 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-01-29VC2008 / VC2010: Enabled precompiled header through Globals.h; the header included in every module in the project. Compilation optimization.madmaxoft@gmail.com1-2/+11
git-svn-id: http://mc-server.googlecode.com/svn/trunk@188 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-10-03MCServer c++ source filesfaketruth1-0/+10
git-svn-id: http://mc-server.googlecode.com/svn/trunk@3 0a769ca7-a7f5-676a-18bf-c427514a06d6