mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
Add a ctor to Position3
This commit is contained in:
parent
d1c34de333
commit
6e3d5382b0
1 changed files with 13 additions and 0 deletions
|
|
@ -23,6 +23,19 @@ namespace Dalamud.Game
|
|||
/// </summary>
|
||||
public float Y;
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="Position3"/> struct.
|
||||
/// </summary>
|
||||
/// <param name="x">The X position.</param>
|
||||
/// <param name="z">The Z position.</param>
|
||||
/// <param name="y">The Y position.</param>
|
||||
public Position3(float x, float z, float y)
|
||||
{
|
||||
this.X = x;
|
||||
this.Z = z;
|
||||
this.Y = y;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Convert this Position3 to a System.Numerics.Vector3.
|
||||
/// </summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue