mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-06 05:01:53 +00:00
Transitioned from VectorX to floatX
And some trying to update Rigidbody when transform changes
This commit is contained in:
@@ -329,10 +329,10 @@ namespace GlitchyEngine.Math
|
||||
|
||||
[Inline]
|
||||
#unwarn
|
||||
public static explicit operator Vector4(ColorRGBA color) => *(Vector4*)&color;
|
||||
public static explicit operator float4(ColorRGBA color) => *(float4*)&color;
|
||||
|
||||
[Inline]
|
||||
#unwarn
|
||||
public static explicit operator ColorRGBA(Vector4 color) => *(ColorRGBA*)&color;
|
||||
public static explicit operator ColorRGBA(float4 color) => *(ColorRGBA*)&color;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user