◆ BVec2()
BrawlLib.Internal.BVec2.BVec2 |
( |
float |
x, |
|
|
float |
y |
|
) |
| |
|
inline |
341 {
344 }
bfloat _x
Definition: BigEndianTypes.cs:337
bfloat _y
Definition: BigEndianTypes.cs:338
◆ operator BVec2()
static implicit BrawlLib.Internal.BVec2.operator BVec2 |
( |
Vector2 |
v | ) |
|
|
inlinestatic |
359 {
360 return new BVec2(v._x, v._y);
361 }
BVec2(float x, float y)
Definition: BigEndianTypes.cs:340
◆ operator Vector2()
static implicit BrawlLib.Internal.BVec2.operator Vector2 |
( |
BVec2 |
v | ) |
|
|
inlinestatic |
354 {
355 return new Vector2(v._x, v._y);
356 }
◆ ToString()
override string BrawlLib.Internal.BVec2.ToString |
( |
| ) |
|
|
inline |
347 {
348 return CultureInfo.CurrentCulture.NumberFormat.NumberDecimalSeparator.Contains(",")
349 ? $"({(float) _x} {(float) _y})"
350 : $"({(float) _x}, {(float) _y})";
351 }
◆ _x
bfloat BrawlLib.Internal.BVec2._x |
◆ _y
bfloat BrawlLib.Internal.BVec2._y |
The documentation for this struct was generated from the following file:
- BrawlLib/Internal/BigEndianTypes.cs