◆ Box()
24 {
25 _min = min;
26 _max = max;
27 }
◆ ExpandVolume() [1/2]
void BrawlLib.Internal.Box.ExpandVolume |
( |
Box |
value | ) |
|
|
inline |
36 {
39 }
void ExpandVolume(Vector3 value)
Definition: Box.cs:29
◆ ExpandVolume() [2/2]
void BrawlLib.Internal.Box.ExpandVolume |
( |
Vector3 |
value | ) |
|
|
inline |
30 {
33 }
static Vector3 Max(Vector3 v1, Vector3 v2)
Definition: Vector3.cs:358
static Vector3 Min(Vector3 v1, Vector3 v2)
Definition: Vector3.cs:316
◆ GetVolume()
static Box BrawlLib.Internal.Box.GetVolume |
( |
Vector3[] |
points | ) |
|
|
inlinestatic |
42 {
43 if (points == null || points.Length == 0)
44 {
46 }
47
49 foreach (Vector3 point in points)
50 {
52 }
53
54 return box;
55 }
Box(Vector3 min, Vector3 max)
Definition: Box.cs:23
static readonly Box ExpandableVolume
Definition: Box.cs:7
◆ operator Box()
static implicit BrawlLib.Internal.Box.operator Box |
( |
BBox |
val | ) |
|
|
inlinestatic |
60 {
61 return new Box(val.Min, val.Max);
62 }
◆ ExpandableVolume
readonly Box BrawlLib.Internal.Box.ExpandableVolume = new Box(new Vector3(float.MaxValue), new Vector3(float.MinValue)) |
|
static |
◆ ZeroBox
readonly Box BrawlLib.Internal.Box.ZeroBox = new Box() |
|
static |
◆ IsValid
bool BrawlLib.Internal.Box.IsValid |
|
get |
◆ Max
18 {
19 get => _max;
20 set => _max = value;
21 }
◆ Min
12 {
13 get => _min;
14 set => _min = value;
15 }
The documentation for this struct was generated from the following file: