REVIEWED: Added new examples to VS2022 solution

This commit is contained in:
Ray 2023-11-08 17:41:08 +01:00
parent fe757b6267
commit bbf0c3a46d
25 changed files with 4412 additions and 273 deletions

View file

@ -167,7 +167,7 @@ int main(void)
// Draw spline: cubic-bezier (with control points)
for (int i = 0; i < pointCount - 1; i++)
{
DrawSplineBezierCubic(points[i], control[i].start, control[i].end, points[i + 1], 2.0f, RED);
DrawSplineSegmentBezierCubic(points[i], control[i].start, control[i].end, points[i + 1], 10.0f, RED);
// Every cubic bezier point should have two control points
DrawCircleV(control[i].start, 4, GOLD);