Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-25 02:20:07 +01:00
Avoid atan2 in Location cinit.
@kashike
Dieser Commit ist enthalten in:
Ursprung
dcfb769d96
Commit
ec0422d682
@ -48,7 +48,7 @@ public class Location {
|
||||
* @param extent the extent
|
||||
*/
|
||||
public Location(Extent extent) {
|
||||
this(extent, Vector3.ZERO, Vector3.ZERO);
|
||||
this(extent, Vector3.ZERO, 0f, 90f);
|
||||
}
|
||||
|
||||
/**
|
||||
@ -61,7 +61,7 @@ public class Location {
|
||||
* @param z the Z coordinate
|
||||
*/
|
||||
public Location(Extent extent, double x, double y, double z) {
|
||||
this(extent, Vector3.at(x, y, z), Vector3.ZERO);
|
||||
this(extent, Vector3.at(x, y, z), 0f, 90f);
|
||||
}
|
||||
|
||||
/**
|
||||
@ -72,7 +72,7 @@ public class Location {
|
||||
* @param position the position vector
|
||||
*/
|
||||
public Location(Extent extent, Vector3 position) {
|
||||
this(extent, position, Vector3.ZERO);
|
||||
this(extent, position, 0f, 90f);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren