mirror of
https://github.com/kwsch/pkNX.git
synced 2026-09-14 21:45:17 -05:00
Move Vec4i to folder, make fbs
This commit is contained in:
@@ -1,9 +1,3 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace pkNX.Structures.FlatBuffers;
|
||||
|
||||
public partial class AABB
|
||||
|
||||
@@ -1,9 +1,3 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace pkNX.Structures.FlatBuffers;
|
||||
|
||||
public partial struct PackedAABB
|
||||
|
||||
@@ -1,21 +1,10 @@
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace pkNX.Structures.FlatBuffers;
|
||||
|
||||
[TypeConverter(typeof(ExpandableObjectConverter))]
|
||||
public class Vec4i : IEquatable<Vec4i>
|
||||
public partial class Vec4i : IEquatable<Vec4i>
|
||||
{
|
||||
public int X { get; set; }
|
||||
public int Y { get; set; }
|
||||
public int Z { get; set; }
|
||||
public int W { get; set; }
|
||||
|
||||
public static readonly Vec4i Zero = new();
|
||||
public static readonly Vec4i One = new(1, 1, 1, 1);
|
||||
|
||||
public Vec4i() { }
|
||||
|
||||
public Vec4i(int x = 0, int y = 0, int z = 0, int w = 0)
|
||||
{
|
||||
X = x;
|
||||
@@ -0,0 +1,8 @@
|
||||
namespace pkNX.Structures.FlatBuffers;
|
||||
|
||||
table Vec4i {
|
||||
X: int;
|
||||
Y: int;
|
||||
Z: int;
|
||||
W: int;
|
||||
}
|
||||
Reference in New Issue
Block a user