diff --git a/Raylib-cs/types/Color.cs b/Raylib-cs/types/Color.cs index 9febe48..4ac146d 100644 --- a/Raylib-cs/types/Color.cs +++ b/Raylib-cs/types/Color.cs @@ -61,7 +61,7 @@ namespace Raylib_cs public override string ToString() { - return $"{{r:{r} g:{g} b:{b} a:{a}}}"; + return $"{{R:{r} G:{g} B:{b} A:{a}}}"; } } } diff --git a/Raylib-cs/types/Shapes.cs b/Raylib-cs/types/Shapes.cs index c2a3ea6..5cac4b3 100644 --- a/Raylib-cs/types/Shapes.cs +++ b/Raylib-cs/types/Shapes.cs @@ -24,7 +24,7 @@ namespace Raylib_cs public override string ToString() { - return $"{{x:{x} y:{y} width:{width} height:{height}}}"; + return $"{{X:{x} Y:{y} Width:{width} Height:{height}}}"; } } @@ -70,6 +70,11 @@ namespace Raylib_cs this.position = position; this.direction = direction; } + + public override string ToString() + { + return $"{{Position:{position} Direction:{direction}}}"; + } } /// @@ -97,5 +102,10 @@ namespace Raylib_cs /// Surface normal of hit /// public Vector3 normal; + + public override string ToString() + { + return $"{{Hit:{hit} Distance:{distance} Point:{point} Normal:{normal}}}"; + } } }