using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace BansheeEngine { /** @addtogroup Math * @{ */ /// A three dimensional vector with integer coordinates. [StructLayout(LayoutKind.Sequential), SerializeObject] public partial struct Vector3I { /// Initializes the struct with default values. public static Vector3I Default() { Vector3I value = new Vector3I(); value.x = 0; value.y = 0; value.z = 0; return value; } public Vector3I(int x, int y, int z) { this.x = x; this.y = y; this.z = z; } public int x; public int y; public int z; } /** @} */ }