mirror of
				https://github.com/raylib-cs/raylib-cs
				synced 2025-10-25 05:39:50 -04:00 
			
		
		
		
	- Added Raymath.cs binding. Raylib.cs depends on this since they both share some types. - Bindings moved into source directly. - Inital examples port alot of syntax still needs to be fixed. - Couldn't get cppsharp to work correctly so using a custom generator(WIP).
		
			
				
	
	
		
			16 lines
		
	
	
		
			335 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			335 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| using Raylib;
 | |
| using static Raylib.rl;
 | |
| 
 | |
| namespace ExampleApplication
 | |
| {
 | |
|     static class Program
 | |
|     {
 | |
|         static void Main(string[] args)
 | |
|         {
 | |
|             var a = new Vector2(100, 30);
 | |
|             var b = new Vector2(100, 30);
 | |
|             var c = Vector2Add(a, b);
 | |
|             Examples.core_basic_window();
 | |
|         }
 | |
|     }
 | |
| } |