Add raylib 4.0.0 and macos compilation support

This commit is contained in:
Not-Nik 2022-01-08 23:07:54 +01:00
parent 3c94160c6f
commit 28bd276606
Failed to generate hash of commit
6 changed files with 92 additions and 222 deletions

View file

@ -144,10 +144,6 @@ pub const Image = extern struct {
return rl.GenImageWhiteNoise(width, height, factor);
}
pub fn GenPerlinNoise(width: c_int, height: c_int, offsetX: c_int, offsetY: c_int, scale: f32) Image {
return rl.GenImagePerlinNoise(width, height, offsetX, offsetY, scale);
}
pub fn GenCellular(width: c_int, height: c_int, tileSize: c_int) Image {
return rl.GenImageCellular(width, height, tileSize);
}