diff options
author | madmaxoft <github@xoft.cz> | 2014-03-25 22:05:45 +0100 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-03-25 22:05:45 +0100 |
commit | 87de5960785e0e007eaee0a8dbb77c64e20e7c8c (patch) | |
tree | c34ff9e51317d3990ef3188de4286c579578bf67 /src/BlockArea.cpp | |
parent | BlockArea: Switched internal coords to Vector3i. (diff) | |
download | cuberite-87de5960785e0e007eaee0a8dbb77c64e20e7c8c.tar cuberite-87de5960785e0e007eaee0a8dbb77c64e20e7c8c.tar.gz cuberite-87de5960785e0e007eaee0a8dbb77c64e20e7c8c.tar.bz2 cuberite-87de5960785e0e007eaee0a8dbb77c64e20e7c8c.tar.lz cuberite-87de5960785e0e007eaee0a8dbb77c64e20e7c8c.tar.xz cuberite-87de5960785e0e007eaee0a8dbb77c64e20e7c8c.tar.zst cuberite-87de5960785e0e007eaee0a8dbb77c64e20e7c8c.zip |
Diffstat (limited to 'src/BlockArea.cpp')
-rw-r--r-- | src/BlockArea.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/BlockArea.cpp b/src/BlockArea.cpp index 692b006d5..f6d54e41c 100644 --- a/src/BlockArea.cpp +++ b/src/BlockArea.cpp @@ -240,6 +240,15 @@ void cBlockArea::Create(int a_SizeX, int a_SizeY, int a_SizeZ, int a_DataTypes) +void cBlockArea::Create(const Vector3i & a_Size, int a_DataTypes) +{ + Create(a_Size.x, a_Size.y, a_Size.z, a_DataTypes); +} + + + + + void cBlockArea::SetWEOffset(int a_OffsetX, int a_OffsetY, int a_OffsetZ) { m_WEOffset.Set(a_OffsetX, a_OffsetY, a_OffsetZ); |