mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Use appropriate sized type for VoxelArea extent
This commit is contained in:
parent
3c5e0d10fc
commit
8957739cdf
16 changed files with 62 additions and 47 deletions
|
@ -38,7 +38,7 @@ void VoxelManipulator::clear()
|
|||
void VoxelManipulator::print(std::ostream &o, const NodeDefManager *ndef,
|
||||
VoxelPrintMode mode) const
|
||||
{
|
||||
const v3s16 &em = m_area.getExtent();
|
||||
auto &em = m_area.getExtent();
|
||||
v3s16 of = m_area.MinEdge;
|
||||
o<<"size: "<<em.X<<"x"<<em.Y<<"x"<<em.Z
|
||||
<<" offset: ("<<of.X<<","<<of.Y<<","<<of.Z<<")"<<std::endl;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue