mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-25 06:55:34 +00:00
28 lines
559 B
C#
28 lines
559 B
C#
|
#region --- License ---
|
|||
|
/* Copyright (c) 2006, 2007 Stefanos Apostolopoulos
|
|||
|
* See license.txt for license info
|
|||
|
*/
|
|||
|
#endregion
|
|||
|
|
|||
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Text;
|
|||
|
using System.Runtime.InteropServices;
|
|||
|
|
|||
|
namespace OpenTK.Math
|
|||
|
{
|
|||
|
[StructLayout(LayoutKind.Sequential)]
|
|||
|
public struct Vector4
|
|||
|
{
|
|||
|
public float X, Y, Z, W;
|
|||
|
|
|||
|
public Vector4(float x, float y, float z, float w)
|
|||
|
{
|
|||
|
X = x;
|
|||
|
Y = y;
|
|||
|
Z = z;
|
|||
|
W = w;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|