Last active
February 13, 2024 14:36
-
-
Save oblerion/94f29f108276bd86ca75e0f60e68807d to your computer and use it in GitHub Desktop.
raylib get/set pixel of Image
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef rayImage_h | |
#define rayImage_h | |
#include "raylib.h" | |
// void SetPixel(Image* img,int x,int y,Color col) | |
#define SetPixel ImageDrawPixel | |
// Color GetPixel(Image img,int x,int y) | |
#define GetPixel GetImageColor | |
#endif | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment