-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Functional flatten & underground options
- Loading branch information
thepsycho
committed
Nov 27, 2018
1 parent
555243a
commit 6ccece9
Showing
7 changed files
with
348 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using WorldUtils; | ||
using System.Text; | ||
|
||
namespace StationeersTools | ||
{ | ||
public static class VectorUtils | ||
{ | ||
public static Vector3 GetMinVector(Vector3 center, float range) | ||
{ | ||
return new Vector3(center.x - range, center.y, center.z - range); | ||
} | ||
|
||
public static Vector3 GetMaxVector(Vector3 center, float range) | ||
{ | ||
return new Vector3(center.x + range, center.y, center.z + range); | ||
} | ||
} | ||
} |
Oops, something went wrong.