mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-23 09:31:08 +00:00
Updated documentation on Vector4(Vector3) constructor to state that the w component is initialized to 0.
This commit is contained in:
parent
5639c5a4dc
commit
0153acb799
|
@ -137,8 +137,10 @@ namespace OpenTK
|
|||
|
||||
/// <summary>
|
||||
/// Constructs a new Vector4 from the given Vector3.
|
||||
/// The w component is initialized to 0.
|
||||
/// </summary>
|
||||
/// <param name="v">The Vector3 to copy components from.</param>
|
||||
/// <remarks><seealso cref="Vector4(Vector3d, double)"/></remarks>
|
||||
public Vector4(Vector3 v)
|
||||
{
|
||||
X = v.X;
|
||||
|
|
|
@ -135,8 +135,10 @@ namespace OpenTK
|
|||
|
||||
/// <summary>
|
||||
/// Constructs a new Vector4d from the given Vector3d.
|
||||
/// The w component is initialized to 0.
|
||||
/// </summary>
|
||||
/// <param name="v">The Vector3d to copy components from.</param>
|
||||
/// <remarks><seealso cref="Vector4d(Vector3d, double)"/></remarks>
|
||||
public Vector4d(Vector3d v)
|
||||
{
|
||||
X = v.X;
|
||||
|
|
Loading…
Reference in a new issue