mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 21:01:52 +00:00
Shader like vectors for C# Scripting
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using GlitchyEngine.Math;
|
||||
using GlitchyEngine.Math.Attributes;
|
||||
|
||||
namespace GlitchyEngine.Math;
|
||||
|
||||
[Vector(typeof(double), 2, "double")]
|
||||
[VectorMath]
|
||||
[ComparableVector]
|
||||
[VectorCast(typeof(float2), true)]
|
||||
public partial struct double2
|
||||
{
|
||||
}
|
||||
|
||||
[Vector(typeof(double), 3, "double")]
|
||||
[VectorMath]
|
||||
[ComparableVector]
|
||||
[VectorCast(typeof(float3), true)]
|
||||
public partial struct double3
|
||||
{
|
||||
}
|
||||
|
||||
[Vector(typeof(double), 4, "double")]
|
||||
[VectorMath]
|
||||
[ComparableVector]
|
||||
[VectorCast(typeof(float4), true)]
|
||||
public partial struct double4
|
||||
{
|
||||
}
|
||||
Reference in New Issue
Block a user