mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
@@ -59,7 +59,6 @@ static void fillRadiusBlock(v3s16 p0, s16 r, std::set<v3s16> &list)
|
|||||||
for(p.Z=p0.Z-r; p.Z<=p0.Z+r; p.Z++) {
|
for(p.Z=p0.Z-r; p.Z<=p0.Z+r; p.Z++) {
|
||||||
// limit to a sphere
|
// limit to a sphere
|
||||||
if (p.getDistanceFrom(p0) <= r) {
|
if (p.getDistanceFrom(p0) <= r) {
|
||||||
// Set in list
|
|
||||||
list.insert(p);
|
list.insert(p);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user