2
0
mirror of https://github.com/raylib-cs/raylib-cs synced 2025-06-30 19:03:42 -04:00

Porting examples

- Test.Common now used for Examples project.
- Testing examples alot.
This commit is contained in:
2018-10-22 16:10:20 +01:00
parent 4a5299504a
commit 6a02bb9d08
97 changed files with 516 additions and 366 deletions

View File

@ -0,0 +1,81 @@
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
<HasSharedItems>true</HasSharedItems>
<SharedGUID>36e54e2a-5899-4d4d-9d78-120db1b4c7b2</SharedGUID>
</PropertyGroup>
<PropertyGroup Label="Configuration">
<Import_RootNamespace>Test.Common</Import_RootNamespace>
</PropertyGroup>
<ItemGroup>
<Compile Include="$(MSBuildThisFileDirectory)audio\audio_module_playing.cs" />
<Compile Include="$(MSBuildThisFileDirectory)audio\audio_music_stream.cs" />
<Compile Include="$(MSBuildThisFileDirectory)audio\audio_raw_stream.cs" />
<Compile Include="$(MSBuildThisFileDirectory)audio\audio_sound_loading.cs" />
<Compile Include="$(MSBuildThisFileDirectory)core\core_2d_camera.cs" />
<Compile Include="$(MSBuildThisFileDirectory)core\core_3d_camera_first_person.cs" />
<Compile Include="$(MSBuildThisFileDirectory)core\core_3d_camera_free.cs" />
<Compile Include="$(MSBuildThisFileDirectory)core\core_3d_mode.cs" />
<Compile Include="$(MSBuildThisFileDirectory)core\core_3d_picking.cs" />
<Compile Include="$(MSBuildThisFileDirectory)core\core_basic_window.cs" />
<Compile Include="$(MSBuildThisFileDirectory)core\core_color_select.cs" />
<Compile Include="$(MSBuildThisFileDirectory)core\core_drop_files.cs" />
<Compile Include="$(MSBuildThisFileDirectory)core\core_gestures_detection.cs" />
<Compile Include="$(MSBuildThisFileDirectory)core\core_input_gamepad.cs" />
<Compile Include="$(MSBuildThisFileDirectory)core\core_input_keys.cs" />
<Compile Include="$(MSBuildThisFileDirectory)core\core_input_mouse.cs" />
<Compile Include="$(MSBuildThisFileDirectory)core\core_mouse_wheel.cs" />
<Compile Include="$(MSBuildThisFileDirectory)core\core_random_values.cs" />
<Compile Include="$(MSBuildThisFileDirectory)core\core_storage_values.cs" />
<Compile Include="$(MSBuildThisFileDirectory)core\core_vr_simulator.cs" />
<Compile Include="$(MSBuildThisFileDirectory)core\core_world_screen.cs" />
<Compile Include="$(MSBuildThisFileDirectory)models\models_billboard.cs" />
<Compile Include="$(MSBuildThisFileDirectory)models\models_box_collisions.cs" />
<Compile Include="$(MSBuildThisFileDirectory)models\models_cubicmap.cs" />
<Compile Include="$(MSBuildThisFileDirectory)models\models_geometric_shapes.cs" />
<Compile Include="$(MSBuildThisFileDirectory)models\models_heightmap.cs" />
<Compile Include="$(MSBuildThisFileDirectory)models\models_material_pbr.cs" />
<Compile Include="$(MSBuildThisFileDirectory)models\models_mesh_generation.cs" />
<Compile Include="$(MSBuildThisFileDirectory)models\models_mesh_picking.cs" />
<Compile Include="$(MSBuildThisFileDirectory)models\models_obj_loading.cs" />
<Compile Include="$(MSBuildThisFileDirectory)models\models_orthographic_projection.cs" />
<Compile Include="$(MSBuildThisFileDirectory)models\models_skybox.cs" />
<Compile Include="$(MSBuildThisFileDirectory)models\models_yaw_pitch_roll.cs" />
<Compile Include="$(MSBuildThisFileDirectory)others\bunnymark.cs" />
<Compile Include="$(MSBuildThisFileDirectory)physac\physics_demo.cs" />
<Compile Include="$(MSBuildThisFileDirectory)physac\physics_friction.cs" />
<Compile Include="$(MSBuildThisFileDirectory)physac\physics_movement.cs" />
<Compile Include="$(MSBuildThisFileDirectory)physac\physics_restitution.cs" />
<Compile Include="$(MSBuildThisFileDirectory)physac\physics_shatter.cs" />
<Compile Include="$(MSBuildThisFileDirectory)shaders\shaders_custom_uniform.cs" />
<Compile Include="$(MSBuildThisFileDirectory)shaders\shaders_model_shader.cs" />
<Compile Include="$(MSBuildThisFileDirectory)shaders\shaders_postprocessing.cs" />
<Compile Include="$(MSBuildThisFileDirectory)shaders\shaders_shapes_textures.cs" />
<Compile Include="$(MSBuildThisFileDirectory)shapes\shapes_basic_shapes.cs" />
<Compile Include="$(MSBuildThisFileDirectory)shapes\shapes_colors_palette.cs" />
<Compile Include="$(MSBuildThisFileDirectory)shapes\shapes_lines_bezier.cs" />
<Compile Include="$(MSBuildThisFileDirectory)shapes\shapes_logo_raylib.cs" />
<Compile Include="$(MSBuildThisFileDirectory)shapes\shapes_logo_raylib_anim.cs" />
<Compile Include="$(MSBuildThisFileDirectory)textures\textures_image_drawing.cs" />
<Compile Include="$(MSBuildThisFileDirectory)textures\textures_image_generation.cs" />
<Compile Include="$(MSBuildThisFileDirectory)textures\textures_image_loading.cs" />
<Compile Include="$(MSBuildThisFileDirectory)textures\textures_image_processing.cs" />
<Compile Include="$(MSBuildThisFileDirectory)textures\textures_image_text.cs" />
<Compile Include="$(MSBuildThisFileDirectory)textures\textures_logo_raylib.cs" />
<Compile Include="$(MSBuildThisFileDirectory)textures\textures_particles_blending.cs" />
<Compile Include="$(MSBuildThisFileDirectory)textures\textures_raw_data.cs" />
<Compile Include="$(MSBuildThisFileDirectory)textures\textures_rectangle.cs" />
<Compile Include="$(MSBuildThisFileDirectory)textures\textures_srcrec_dstrec.cs" />
<Compile Include="$(MSBuildThisFileDirectory)textures\textures_to_image.cs" />
<Compile Include="$(MSBuildThisFileDirectory)text\text_bmfont_ttf.cs" />
<Compile Include="$(MSBuildThisFileDirectory)text\text_bmfont_unordered.cs" />
<Compile Include="$(MSBuildThisFileDirectory)text\text_font_sdf.cs" />
<Compile Include="$(MSBuildThisFileDirectory)text\text_format_text.cs" />
<Compile Include="$(MSBuildThisFileDirectory)text\text_input_box.cs" />
<Compile Include="$(MSBuildThisFileDirectory)text\text_raylib_fonts.cs" />
<Compile Include="$(MSBuildThisFileDirectory)text\text_sprite_fonts.cs" />
<Compile Include="$(MSBuildThisFileDirectory)text\text_ttf_loading.cs" />
<Compile Include="$(MSBuildThisFileDirectory)text\text_writing_anim.cs" />
</ItemGroup>
</Project>

13
Examples/Examples.shproj Normal file
View File

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Label="Globals">
<ProjectGuid>36e54e2a-5899-4d4d-9d78-120db1b4c7b2</ProjectGuid>
<MinimumVisualStudioVersion>14.0</MinimumVisualStudioVersion>
</PropertyGroup>
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeSharing\Microsoft.CodeSharing.Common.Default.props" />
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeSharing\Microsoft.CodeSharing.Common.props" />
<PropertyGroup />
<Import Project="Examples.projitems" Label="Shared" />
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeSharing\Microsoft.CodeSharing.CSharp.targets" />
</Project>

View File

@ -1,102 +0,0 @@
using System;
using System.Drawing;
using System.Runtime.InteropServices;
using System.Threading;
using System.Windows.Forms;
using static Raylib.Raylib;
namespace Raylib
{
public partial class RayForms : Form
{
private Panel gamePanel;
private bool windowAttached = false;
#region WinAPI Entry Points
[DllImport("user32.dll")]
private static extern IntPtr SetWindowPos(IntPtr handle, IntPtr handleAfter, int x, int y, int cx, int cy, uint flags);
[DllImport("user32.dll")]
private static extern IntPtr SetParent(IntPtr child, IntPtr newParent);
[DllImport("user32.dll")]
private static extern IntPtr ShowWindow(IntPtr handle, int command);
#endregion
public RayForms()
{
Size = new Size(1024, 700);
Text = "Rayforms";
gamePanel = new Panel();
gamePanel.Size = new Size(800, 500);
gamePanel.Location = new Point(50, 50);
Button button = new Button();
button.Text = "Attach window";
button.Size = new Size(150, 20);
button.Location = new Point(
(Size.Width / 2) - (button.Size.Width / 2),
gamePanel.Location.Y + gamePanel.Size.Height + 10
);
button.Click += new EventHandler(ClickedButton);
Controls.Add(button);
Controls.Add(gamePanel);
}
private void ClickedButton(object sender, EventArgs e)
{
if (!windowAttached)
{
// new Thread(Test).Start();
Test();
}
}
private void Test()
{
SetConfigFlags((int)Flag.WINDOW_UNDECORATED);
InitWindow(800, 480, "Rayforms test");
SetTargetFPS(60);
IntPtr winHandle = GetWindowHandle();
Invoke(new Action(() =>
{
SetWindowPos(winHandle, Handle, 0, 0, 0, 0, 0x0401 /*NOSIZE | SHOWWINDOW */);
SetParent(winHandle, gamePanel.Handle);
ShowWindow(winHandle, 1);
windowAttached = true;
}));
// Main game loop
while (!WindowShouldClose()) // Detect window close button or ESC key
{
// Update
//----------------------------------------------------------------------------------
// TODO: Update your variables here
//----------------------------------------------------------------------------------
// Draw
//----------------------------------------------------------------------------------
BeginDrawing();
ClearBackground(RAYWHITE);
DrawText("Congrats! You created your first window!", 190, 200, 20, MAROON);
DrawText(GetFrameTime().ToString(), 100, 10, 15, MAROON);
DrawFPS(10, 10);
EndDrawing();
//----------------------------------------------------------------------------------
}
CloseWindow();
}
public static void Run()
{
Application.Run(new RayForms());
}
}
}

File diff suppressed because one or more lines are too long

View File

@ -1,7 +1,7 @@
using Raylib;
using static Raylib.Raylib;
public partial class Examples
public partial class audio_music_stream
{
/*******************************************************************************************
/*******************************************************************************************
*

View File

@ -1,7 +1,11 @@
using Raylib;
using System;
using Raylib;
using static Raylib.Raylib;
public partial class Examples
public partial class audio_raw_stream
{
/*******************************************************************************************
/*******************************************************************************************
*
* raylib [audio] example - Raw audio streaming
*
* NOTE: This example requires OpenAL Soft library installed

View File

@ -1,7 +1,7 @@
using Raylib;
using static Raylib.Raylib;
public partial class Examples
public partial class audio_sound_loading
{
/*******************************************************************************************
/*******************************************************************************************
*

File diff suppressed because one or more lines are too long

View File

@ -1,7 +1,9 @@
using Raylib;
using static Raylib.Raylib;
using static Raylib.CameraType;
using static Raylib.CameraMode;
public partial class Examples
public partial class core_3d_camera_first_person
{
/*******************************************************************************************
/*******************************************************************************************
*

View File

@ -1,7 +1,9 @@
using Raylib;
using static Raylib.Raylib;
using static Raylib.CameraType;
using static Raylib.CameraMode;
public partial class Examples
public partial class core_3d_camera_free
{
/*******************************************************************************************
/*******************************************************************************************
*

View File

@ -1,7 +1,8 @@
using Raylib;
using static Raylib.Raylib;
using static Raylib.CameraType;
public partial class Examples
public partial class core_3d_mode
{
/*******************************************************************************************
/*******************************************************************************************
*

View File

@ -1,7 +1,9 @@
using Raylib;
using static Raylib.Raylib;
using static Raylib.CameraType;
using static Raylib.CameraMode;
public partial class Examples
public partial class core_3d_picking
{
/*******************************************************************************************
/*******************************************************************************************
*

View File

@ -1 +1 @@
using Raylib;
using Raylib;

View File

@ -1,7 +1,7 @@
using Raylib;
using static Raylib.Raylib;
public partial class Examples
public partial class core_color_select
{
/*******************************************************************************************
/*******************************************************************************************
*

View File

@ -1,7 +1,7 @@
using Raylib;
using static Raylib.Raylib;
public partial class Examples
public partial class core_drop_files
{
/*******************************************************************************************
/*******************************************************************************************
*

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +1,7 @@
using Raylib;
using Raylib;
using static Raylib.Raylib;
public partial class core_input_keys
{
/*******************************************************************************************
*

View File

@ -1 +1,7 @@
using Raylib;
using Raylib;
using static Raylib.Raylib;
public partial class core_input_mouse
{
/*******************************************************************************************
*

View File

@ -1 +1,11 @@
using Raylib;
using Raylib;
using static Raylib.Raylib;
public partial class core_mouse_wheel
{
/*******************************************************************************************
*
* raylib [core] examples - Mouse wheel
*
* This test has been created using raylib 1.1 (www.raylib.com)
* raylib is licensed under an unmodified zlib/libpng license (View raylib.h for details)

View File

@ -1,7 +1,8 @@
using Raylib;
using static Raylib.Raylib;
public partial class Examples
public partial class core_random_values
{
/*******************************************************************************************
/*******************************************************************************************
*
* raylib [core] example - Generate random values

View File

@ -1,7 +1,17 @@
using Raylib;
using static Raylib.Raylib;
public partial class Examples
public partial class core_storage_values
{
/*******************************************************************************************
/*******************************************************************************************
*
* raylib [core] example - Storage save/load values
*
* This example has been created using raylib 1.4 (www.raylib.com)
* raylib is licensed under an unmodified zlib/libpng license (View raylib.h for details)
*
* Copyright (c) 2015 Ramon Santamaria (@raysan5)
*
********************************************************************************************/
// NOTE: Storage positions must start with 0, directly related to file memory layout

View File

@ -1,7 +1,10 @@
using Raylib;
using static Raylib.Raylib;
using static Raylib.CameraType;
using static Raylib.CameraMode;
using static Raylib.VrDeviceType;
public partial class Examples
public partial class core_vr_simulator
{
/*******************************************************************************************
/*******************************************************************************************
*

View File

@ -1,7 +1,9 @@
using Raylib;
using static Raylib.Raylib;
using static Raylib.CameraType;
using static Raylib.CameraMode;
public partial class Examples
public partial class core_world_screen
{
/*******************************************************************************************
/*******************************************************************************************
*

View File

@ -1,7 +0,0 @@
using Raylib;
using static Raylib.Raylib;
public partial class Examples
{
/*******************************************************************************************
*

View File

@ -1,7 +1,9 @@
using Raylib;
using static Raylib.Raylib;
using static Raylib.CameraType;
using static Raylib.CameraMode;
public partial class Examples
public partial class models_billboard
{
/*******************************************************************************************
/*******************************************************************************************
*

File diff suppressed because one or more lines are too long

View File

@ -1,7 +1,9 @@
using Raylib;
using static Raylib.Raylib;
using static Raylib.CameraMode;
using static Raylib.TexmapIndex;
public partial class Examples
public partial class models_cubicmap
{
/*******************************************************************************************
/*******************************************************************************************
*

View File

@ -1,7 +1,8 @@
using Raylib;
using static Raylib.Raylib;
using static Raylib.CameraType;
public partial class Examples
public partial class models_geometric_shapes
{
/*******************************************************************************************
/*******************************************************************************************
*

View File

@ -1,7 +1,9 @@
using Raylib;
using static Raylib.Raylib;
using static Raylib.CameraMode;
using static Raylib.TexmapIndex;
public partial class Examples
public partial class models_heightmap
{
/*******************************************************************************************
/*******************************************************************************************
*

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,7 +1,9 @@
using Raylib;
using static Raylib.Raylib;
using static Raylib.CameraType;
using static Raylib.TexmapIndex;
public partial class Examples
public partial class models_obj_loading
{
/*******************************************************************************************
/*******************************************************************************************
*

View File

@ -1,7 +1,9 @@
using Raylib;
using static Raylib.Raylib;
using static Raylib.CameraType;
using static Raylib.CameraMode;
public partial class Examples
public partial class models_orthographic_projection
{
/*******************************************************************************************
/*******************************************************************************************
*

View File

@ -1,7 +1,9 @@
using Raylib;
using static Raylib.Raylib;
using static Raylib.CameraMode;
using static Raylib.TexmapIndex;
public partial class Examples
public partial class models_skybox
{
/*******************************************************************************************
/*******************************************************************************************
*

File diff suppressed because one or more lines are too long

View File

@ -1,7 +0,0 @@
using Raylib;
using static Raylib.Raylib;
public partial class Examples
{
/*******************************************************************************************
*

View File

@ -1,7 +1,14 @@
using Raylib;
using static Raylib.Raylib;
public partial class Examples
public partial class bunnymark
{
/*******************************************************************************************
/*******************************************************************************************
*
* raylib example - Bunnymark
*
* This example has been created using raylib 1.6 (www.raylib.com)
* raylib is licensed under an unmodified zlib/libpng license (View raylib.h for details)
*
* Copyright (c) 2014 Ramon Santamaria (@raysan5)
*

Binary file not shown.

After

Width:  |  Height:  |  Size: 449 B

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

BIN
Examples/raylib-cs.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 139 KiB

View File

@ -13,8 +13,8 @@ uniform vec4 colDiffuse;
// NOTE: Add here your custom variables
// NOTE: Render size values should be passed from code
const float renderWidth = 800;
const float renderHeight = 450;
const float renderWidth = 800.0;
const float renderHeight = 450.0;
float radius = 250.0;
float angle = 0.8;
@ -43,4 +43,4 @@ void main()
vec4 color = texture2D(texture0, tc/texSize)*colDiffuse*fragColor;;
gl_FragColor = vec4(color.rgb, 1.0);;
}
}

File diff suppressed because one or more lines are too long

View File

@ -1,7 +1,10 @@
using Raylib;
using static Raylib.Raylib;
using static Raylib.CameraType;
using static Raylib.CameraMode;
using static Raylib.TexmapIndex;
public partial class Examples
public partial class shaders_model_shader
{
/*******************************************************************************************
/*******************************************************************************************
*

File diff suppressed because one or more lines are too long

View File

@ -1,7 +1,7 @@
using Raylib;
using static Raylib.Raylib;
public partial class Examples
public partial class shaders_shapes_textures
{
/*******************************************************************************************
/*******************************************************************************************
*

View File

@ -1,7 +1,7 @@
using Raylib;
using static Raylib.Raylib;
public partial class Examples
public partial class shapes_basic_shapes
{
/*******************************************************************************************
/*******************************************************************************************
*

View File

@ -1,7 +1,7 @@
using Raylib;
using static Raylib.Raylib;
public partial class Examples
public partial class shapes_colors_palette
{
/*******************************************************************************************
/*******************************************************************************************
*

View File

@ -1,7 +1,7 @@
using Raylib;
using static Raylib.Raylib;
public partial class Examples
public partial class shapes_lines_bezier
{
/*******************************************************************************************
/*******************************************************************************************
*

View File

@ -1,7 +1,7 @@
using Raylib;
using static Raylib.Raylib;
public partial class Examples
public partial class shapes_logo_raylib
{
/*******************************************************************************************
/*******************************************************************************************
*

File diff suppressed because one or more lines are too long

Binary file not shown.

Before

Width:  |  Height:  |  Size: 37 KiB

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

@ -1,7 +1,7 @@
using Raylib;
using static Raylib.Raylib;
public partial class Examples
public partial class text_bmfont_ttf
{
/*******************************************************************************************
/*******************************************************************************************
*

View File

@ -1,7 +1,7 @@
using Raylib;
using static Raylib.Raylib;
public partial class Examples
public partial class text_bmfont_unordered
{
/*******************************************************************************************
/*******************************************************************************************
*

File diff suppressed because one or more lines are too long

View File

@ -1,7 +1,7 @@
using Raylib;
using static Raylib.Raylib;
public partial class Examples
public partial class text_format_text
{
/*******************************************************************************************
/*******************************************************************************************
*

View File

@ -1,7 +1,10 @@
using Raylib;
using System.Text;
using static Raylib.Raylib;
public partial class Examples
public partial class text_input_box
{
/*******************************************************************************************
/*******************************************************************************************
*
* raylib [text] example - Input Box
*

View File

@ -1,7 +1,7 @@
using Raylib;
using static Raylib.Raylib;
public partial class Examples
public partial class text_raylib_fonts
{
/*******************************************************************************************
/*******************************************************************************************
*

View File

@ -1,7 +1,7 @@
using Raylib;
using static Raylib.Raylib;
public partial class Examples
public partial class text_sprite_fonts
{
/*******************************************************************************************
/*******************************************************************************************
*

File diff suppressed because one or more lines are too long

View File

@ -1,7 +1,7 @@
using Raylib;
using static Raylib.Raylib;
public partial class Examples
public partial class text_writing_anim
{
/*******************************************************************************************
/*******************************************************************************************
*

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 10 KiB

View File

@ -1,7 +1,7 @@
using Raylib;
using static Raylib.Raylib;
public partial class Examples
public partial class textures_image_drawing
{
/*******************************************************************************************
/*******************************************************************************************
*

View File

@ -1,7 +1,7 @@
using Raylib;
using static Raylib.Raylib;
public partial class Examples
public partial class textures_image_generation
{
/*******************************************************************************************
/*******************************************************************************************
*

View File

@ -1,7 +1,7 @@
using Raylib;
using static Raylib.Raylib;
public partial class Examples
public partial class textures_image_loading
{
/*******************************************************************************************
/*******************************************************************************************
*

File diff suppressed because one or more lines are too long

View File

@ -1,7 +1,7 @@
using Raylib;
using static Raylib.Raylib;
public partial class Examples
public partial class textures_image_text
{
/*******************************************************************************************
/*******************************************************************************************
*

View File

@ -1,7 +1,7 @@
using Raylib;
using static Raylib.Raylib;
public partial class Examples
public partial class textures_logo_raylib
{
/*******************************************************************************************
/*******************************************************************************************
*

File diff suppressed because one or more lines are too long

View File

@ -1,7 +1,8 @@
using Raylib;
using static Raylib.Raylib;
using static Raylib.PixelFormat;
public partial class Examples
public partial class textures_raw_data
{
/*******************************************************************************************
/*******************************************************************************************
*

View File

@ -1,7 +1,7 @@
using Raylib;
using static Raylib.Raylib;
public partial class Examples
public partial class textures_rectangle
{
/*******************************************************************************************
/*******************************************************************************************
*

View File

@ -1,7 +1,7 @@
using Raylib;
using static Raylib.Raylib;
public partial class Examples
public partial class textures_srcrec_dstrec
{
/*******************************************************************************************
/*******************************************************************************************
*

View File

@ -1,7 +1,7 @@
using Raylib;
using static Raylib.Raylib;
public partial class Examples
public partial class textures_to_image
{
/*******************************************************************************************
/*******************************************************************************************
*