diff options
author | peterbell10 <peterbell10@live.co.uk> | 2019-08-08 20:49:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-08 20:49:00 +0200 |
commit | a2547bf1fe447dd7197791803b64ef085a1b4a1a (patch) | |
tree | ff10cd49581e3a76fd358fcd431ab030dab5ba88 /src/BoundingBox.h | |
parent | Change TakeDamageInfo::FinalDamage from int to float (#4359) (diff) | |
download | cuberite-a2547bf1fe447dd7197791803b64ef085a1b4a1a.tar cuberite-a2547bf1fe447dd7197791803b64ef085a1b4a1a.tar.gz cuberite-a2547bf1fe447dd7197791803b64ef085a1b4a1a.tar.bz2 cuberite-a2547bf1fe447dd7197791803b64ef085a1b4a1a.tar.lz cuberite-a2547bf1fe447dd7197791803b64ef085a1b4a1a.tar.xz cuberite-a2547bf1fe447dd7197791803b64ef085a1b4a1a.tar.zst cuberite-a2547bf1fe447dd7197791803b64ef085a1b4a1a.zip |
Diffstat (limited to 'src/BoundingBox.h')
-rw-r--r-- | src/BoundingBox.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/BoundingBox.h b/src/BoundingBox.h index c71c42d1a..e62711658 100644 --- a/src/BoundingBox.h +++ b/src/BoundingBox.h @@ -31,9 +31,10 @@ public: For example: cBoundingBox([0, 0, 0], 6, 6, -3) would create a bounding cube from (-3, -3, -3) to (3, 3, 3). */ cBoundingBox(Vector3d a_Pos, double a_Radius, double a_Height, double a_VerticalOffset); cBoundingBox(Vector3d a_Pos, double a_CubeLength); - cBoundingBox(const cBoundingBox & a_Orig); - cBoundingBox & operator=(const cBoundingBox & a_Other); + #ifdef TOLUA_EXPOSITION // tolua isn't aware of implicitly generated copy constructors + cBoundingBox(const cBoundingBox & a_Orig); + #endif /** Moves the entire boundingbox by the specified offset */ void Move(double a_OffX, double a_OffY, double a_OffZ); |