linting 2

This commit is contained in:
lewd-alt
2025-09-14 15:47:53 -07:00
parent 8fb31d38bb
commit bb3bf291e2
17 changed files with 98 additions and 447 deletions

View File

@@ -32,26 +32,14 @@ namespace _2DGAMELIB
return __refvalue(destRef, GLFW.Window);
}
public static unsafe IntPtr WindowToPtr(Window source)
{
var sourceRef = __makeref(source);
var dest = default(IntPtr);
var destRef = __makeref(dest);
*(IntPtr*)&destRef = *(IntPtr*)&sourceRef;
return __refvalue(destRef, IntPtr);
}
public GLFW.Window window;
private uint shader_program;
private uint texture;
private uint vertex_buf;
private uint vao;
public GlImage() { }
public void ImageSetting() { }
public System.Drawing.Point GetCursorPoint() {
double x, y;
Glfw.GetCursorPosition(window, out x, out y);