Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-03 01:50:07 +01:00
Merge remote-tracking branch 'origin/1.16' into 1.16
Dieser Commit ist enthalten in:
Commit
db3718e092
@ -75,10 +75,12 @@ public class BlobBrush implements Brush {
|
|||||||
MutableVector3 mutable = new MutableVector3();
|
MutableVector3 mutable = new MutableVector3();
|
||||||
double roughness = 1 - sphericity;
|
double roughness = 1 - sphericity;
|
||||||
for (int xr = -sizeInt; xr <= sizeInt; xr++) {
|
for (int xr = -sizeInt; xr <= sizeInt; xr++) {
|
||||||
mutable.mutX(xr);
|
|
||||||
for (int yr = -sizeInt; yr <= sizeInt; yr++) {
|
for (int yr = -sizeInt; yr <= sizeInt; yr++) {
|
||||||
mutable.mutY(yr);
|
|
||||||
for (int zr = -sizeInt; zr <= sizeInt; zr++) {
|
for (int zr = -sizeInt; zr <= sizeInt; zr++) {
|
||||||
|
// pt == mutable as it's a MutableVector3
|
||||||
|
// so it must be set each time
|
||||||
|
mutable.mutX(xr);
|
||||||
|
mutable.mutY(yr);
|
||||||
mutable.mutZ(zr);
|
mutable.mutZ(zr);
|
||||||
Vector3 pt = transform.apply(mutable);
|
Vector3 pt = transform.apply(mutable);
|
||||||
int x = MathMan.roundInt(pt.getX());
|
int x = MathMan.roundInt(pt.getX());
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren