mirror of
https://github.com/beefytech/Beef.git
synced 2025-07-05 07:45:59 +02:00
Cast fix
This commit is contained in:
parent
2956bdeea9
commit
674f0f6a56
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ namespace Beefy.gfx
|
||||||
|
|
||||||
public static implicit operator uint32(Color color);
|
public static implicit operator uint32(Color color);
|
||||||
public static implicit operator Color(uint32 color);
|
public static implicit operator Color(uint32 color);
|
||||||
public static implicit operator Color(int color) => (.)color;
|
public static implicit operator Color(int color) => (uint32)color;
|
||||||
|
|
||||||
public this(int32 r, int32 g, int32 b)
|
public this(int32 r, int32 g, int32 b)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue