diff options
author | madmaxoft <github@xoft.cz> | 2014-05-22 21:47:56 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-05-22 21:47:56 +0200 |
commit | 6aa7df367f8db7506a8a5ab853c26e3c9fd60253 (patch) | |
tree | d869d17b349aa2fffc676224f5aee2f9c17b59f1 /src/Generating/PieceGenerator.cpp | |
parent | Updated plains village prefabs. (diff) | |
download | cuberite-6aa7df367f8db7506a8a5ab853c26e3c9fd60253.tar cuberite-6aa7df367f8db7506a8a5ab853c26e3c9fd60253.tar.gz cuberite-6aa7df367f8db7506a8a5ab853c26e3c9fd60253.tar.bz2 cuberite-6aa7df367f8db7506a8a5ab853c26e3c9fd60253.tar.lz cuberite-6aa7df367f8db7506a8a5ab853c26e3c9fd60253.tar.xz cuberite-6aa7df367f8db7506a8a5ab853c26e3c9fd60253.tar.zst cuberite-6aa7df367f8db7506a8a5ab853c26e3c9fd60253.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Generating/PieceGenerator.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/Generating/PieceGenerator.cpp b/src/Generating/PieceGenerator.cpp index c12559d3f..7d478f1a1 100644 --- a/src/Generating/PieceGenerator.cpp +++ b/src/Generating/PieceGenerator.cpp @@ -308,6 +308,15 @@ cPiece::cConnector cPlacedPiece::GetRotatedConnector(size_t a_Index) const +cPiece::cConnector cPlacedPiece::GetRotatedConnector(const cPiece::cConnector & a_Connector) const +{ + return m_Piece->RotateMoveConnector(a_Connector, m_NumCCWRotations, m_Coords.x, m_Coords.y, m_Coords.z); +} + + + + + /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // cPieceGenerator: |