Tidying up project
- Added Release folder for important dlls that will be used in nuget package - Moved Rayforms into Examples folder - Added updated generator(WIP)
This commit is contained in:
parent
7008c67dfa
commit
e2a32241de
16 changed files with 240 additions and 146 deletions
|
|
@ -111,12 +111,24 @@ namespace Raylib
|
|||
return Raylib.Vector2Normalize(v);
|
||||
}
|
||||
|
||||
// extra operators(Vector2Add(v1, v2) -> v1 += v2);
|
||||
// operators
|
||||
[DllImport(Raylib.nativeLibName, EntryPoint = "Vector2Add")]
|
||||
public static extern Vector2 operator +(Vector2 v1, Vector2 v2);
|
||||
public static extern Vector2 operator +(Vector2 v1, Vector2 v3);
|
||||
|
||||
[DllImport(Raylib.nativeLibName, EntryPoint = "Vector2Subtract")]
|
||||
public static extern Vector2 operator -(Vector2 v1, Vector2 v2);
|
||||
public static extern Vector2 operator -(Vector2 v1, Vector2 v3);
|
||||
|
||||
[DllImport(Raylib.nativeLibName, EntryPoint = "Vector2MultiplyV")]
|
||||
public static extern Vector2 operator *(Vector2 v1, Vector2 v3);
|
||||
|
||||
[DllImport(Raylib.nativeLibName, EntryPoint = "Vector2Scale")]
|
||||
public static extern Vector2 operator *(Vector2 v1, float scale);
|
||||
|
||||
[DllImport(Raylib.nativeLibName, EntryPoint = "Vector2Divide")]
|
||||
public static extern Vector2 operator /(Vector2 v1, Vector2 v3);
|
||||
|
||||
[DllImport(Raylib.nativeLibName, EntryPoint = "Vector2Negate")]
|
||||
public static extern Vector2 operator -(Vector2 v1);
|
||||
}
|
||||
|
||||
// Vector3 type
|
||||
|
|
|
|||
Loading…
Reference in a new issue