Move Vec4i to folder, make fbs

This commit is contained in:
Kurt 2025-02-02 03:48:23 -06:00
parent a66ad666fa
commit e9f8fed5a6
4 changed files with 9 additions and 24 deletions

View File

@ -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

View File

@ -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

View File

@ -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;

View File

@ -0,0 +1,8 @@
namespace pkNX.Structures.FlatBuffers;
table Vec4i {
X: int;
Y: int;
Z: int;
W: int;
}