◆ BVec3()
BrawlLib.Internal.BVec3.BVec3 |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
z |
|
) |
| |
|
inline |
372 {
376 }
bfloat _y
Definition: BigEndianTypes.cs:368
bfloat _x
Definition: BigEndianTypes.cs:367
bfloat _z
Definition: BigEndianTypes.cs:369
◆ operator BVec3() [1/2]
static implicit BrawlLib.Internal.BVec3.operator BVec3 |
( |
Vector3 |
v | ) |
|
|
inlinestatic |
391 {
392 return new BVec3(v._x, v._y, v._z);
393 }
BVec3(float x, float y, float z)
Definition: BigEndianTypes.cs:371
◆ operator BVec3() [2/2]
static implicit BrawlLib.Internal.BVec3.operator BVec3 |
( |
Vector4 |
v | ) |
|
|
inlinestatic |
401 {
402 return new BVec3(v._x / v._w, v._y / v._w, v._z / v._w);
403 }
◆ operator Vector3()
static implicit BrawlLib.Internal.BVec3.operator Vector3 |
( |
BVec3 |
v | ) |
|
|
inlinestatic |
386 {
387 return new Vector3(v._x, v._y, v._z);
388 }
◆ operator Vector4()
static implicit BrawlLib.Internal.BVec3.operator Vector4 |
( |
BVec3 |
v | ) |
|
|
inlinestatic |
396 {
397 return new Vector4(v._x, v._y, v._z, 1);
398 }
◆ ToString()
override string BrawlLib.Internal.BVec3.ToString |
( |
| ) |
|
|
inline |
379 {
380 return CultureInfo.CurrentCulture.NumberFormat.NumberDecimalSeparator.Contains(",")
381 ? $"({(float) _x} {(float) _y} {(float) _z})"
382 : $"({(float) _x}, {(float) _y}, {(float) _z})";
383 }
◆ _x
bfloat BrawlLib.Internal.BVec3._x |
◆ _y
bfloat BrawlLib.Internal.BVec3._y |
◆ _z
bfloat BrawlLib.Internal.BVec3._z |
The documentation for this struct was generated from the following file:
- BrawlLib/Internal/BigEndianTypes.cs