mirror of
https://codeberg.org/scip/golsky.git
synced 2025-12-17 04:30:57 +01:00
added C test
This commit is contained in:
18
various-tests/raygol/grid.h
Normal file
18
various-tests/raygol/grid.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#ifndef _HAVE_GRID_H
|
||||
#define _HAVE_GRID_H
|
||||
|
||||
#include "raylib.h"
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
typedef struct Grid {
|
||||
int Width;
|
||||
int Height;
|
||||
int Density;
|
||||
int **Data;
|
||||
} Grid;
|
||||
|
||||
Grid *NewGrid(int width, int height, int density);
|
||||
void FillRandom(Grid *grid);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user