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