diff --git a/Examples/Textures/TexturedCurve.cs b/Examples/Textures/TexturedCurve.cs
index 44f16d0..4ee8def 100644
--- a/Examples/Textures/TexturedCurve.cs
+++ b/Examples/Textures/TexturedCurve.cs
@@ -90,7 +90,7 @@ public unsafe class TexturedCurve
{
if (showCurve)
{
- DrawLineBezierCubic(
+ DrawSplineSegmentBezierCubic(
curveStartPosition,
curveEndPosition,
curveStartPositionTangent,
@@ -102,6 +102,7 @@ public unsafe class TexturedCurve
// Draw the various control points and highlight where the mouse is
DrawLineV(curveStartPosition, curveStartPositionTangent, Color.SkyBlue);
+ DrawLineV(curveStartPositionTangent, curveEndPositionTangent, Fade(Color.LightGray, 0.4f));
DrawLineV(curveEndPosition, curveEndPositionTangent, Color.Purple);
Vector2 mouse = GetMousePosition();
diff --git a/Raylib-cs/Build.props b/Raylib-cs/Build.props
index d3da2b2..8f2213c 100644
--- a/Raylib-cs/Build.props
+++ b/Raylib-cs/Build.props
@@ -1,7 +1,7 @@
5.5
- 7.0.2
- 7.0.2
+ 8.0.0
+ 8.0.0
diff --git a/Raylib-cs/interop/Raylib.cs b/Raylib-cs/interop/Raylib.cs
index db56c5b..b1149fb 100644
--- a/Raylib-cs/interop/Raylib.cs
+++ b/Raylib-cs/interop/Raylib.cs
@@ -1,4 +1,5 @@
using System.Runtime.InteropServices;
+using System.Runtime.Versioning;
using System.Numerics;
using System.Security;
using System;
@@ -211,6 +212,7 @@ public static unsafe partial class Raylib
public static extern sbyte* GetClipboardText();
/// Get clipboard image content (only works on Windows)
+ [UnsupportedOSPlatform("browser")]
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern Image GetClipboardImage();
@@ -1054,27 +1056,6 @@ public static unsafe partial class Raylib
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern void DrawLineBezier(Vector2 startPos, Vector2 endPos, float thick, Color color);
- /// Draw line using quadratic bezier curves with a control point
- [DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
- public static extern void DrawLineBezierQuad(
- Vector2 startPos,
- Vector2 endPos,
- Vector2 controlPos,
- float thick,
- Color color
- );
-
- /// Draw line using cubic bezier curves with 2 control points
- [DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
- public static extern void DrawLineBezierCubic(
- Vector2 startPos,
- Vector2 endPos,
- Vector2 startControlPos,
- Vector2 endControlPos,
- float thick,
- Color color
- );
-
/// Draw lines sequence
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern void DrawLineStrip(Vector2* points, int pointCount, Color color);
@@ -2761,10 +2742,6 @@ public static unsafe partial class Raylib
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern void ResumeSound(Sound sound);
- /// Get number of sounds playing in the multichannel
- [DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
- public static extern int GetSoundsPlaying();
-
/// Check if a sound is currently playing
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern CBool IsSoundPlaying(Sound sound);