-
Notifications
You must be signed in to change notification settings - Fork 0
/
chk_list.txt
47 lines (31 loc) · 1.8 KB
/
chk_list.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
void *mlx_init(); -> int glfwInit();
The glfwInit()
function initializes the GLFW library and should be called before any other GLFW
functions. It returns an int value indicating whether the initialization was successful or not.
If initialization fails, you can handle the error accordingly.
mlx_init
Initializes the MLX library. Must be called before ANY other function. Will return NULL if
initialization failed.
NOTE!, for mlx u need to take the return value into the mlx struct!
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
mlx_new_window (MiniLibX) -> glfwCreateWindow (GLFW)
void *mlx_new_window(void *mlx_ptr, int size_x, int size_y, char *title);
GLFWwindow* glfwCreateWindow(int width, int height, const char* title, GLFWmonitor* monitor, GLFWwindow* share);
glfwCreateWindow
function creates a new window with the specified width, height, and title.
It returns a pointer to a GLFWwindow instance, which should be saved for future reference.
mlx_new_window
Creates a new window instance. It will return a window instance pointer. This should be saved
for future reference.
** Create a new window. (void *mlx_ptr, int size_x, int size_y, char *title);
**
** @param void *mlx_ptr the mlx instance pointer;
** @param int size_x the width of the window;
** @param int size_y the height of the window;
** @param char *title the title of the window;
** @return void* the window instance pointer.
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
mlx_clear_window (MiniLibX) -> glClearColor, glClear
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
lm fao, we already using mlx, u useless bastard wasting time on random shits!