Bump to raylib 5.5-dev
This commit is contained in:
parent
2176d37bcc
commit
e3e3a7518a
13 changed files with 295 additions and 112 deletions
|
|
@ -1956,9 +1956,9 @@ pub const SaveFileTextCallback = *const fn ([*c]const u8, [*c]u8) callconv(.C) b
|
|||
pub const AudioCallback = ?*const fn (?*anyopaque, c_uint) callconv(.C) void;
|
||||
|
||||
pub const RAYLIB_VERSION_MAJOR = @as(i32, 5);
|
||||
pub const RAYLIB_VERSION_MINOR = @as(i32, 1);
|
||||
pub const RAYLIB_VERSION_MINOR = @as(i32, 5);
|
||||
pub const RAYLIB_VERSION_PATCH = @as(i32, 0);
|
||||
pub const RAYLIB_VERSION = "5.1-dev";
|
||||
pub const RAYLIB_VERSION = "5.5-dev";
|
||||
|
||||
pub const MAX_TOUCH_POINTS = 10;
|
||||
pub const MAX_MATERIAL_MAPS = 12;
|
||||
|
|
@ -2271,8 +2271,8 @@ pub fn checkCollisionPointPoly(point: Vector2, points: []const Vector2) bool {
|
|||
return cdef.CheckCollisionPointPoly(point, @as([*c]const Vector2, @ptrCast(points)), @as(c_int, @intCast(points.len)));
|
||||
}
|
||||
|
||||
pub fn imageKernelConvolution(image: *Image, kernel: []f32) void {
|
||||
cdef.ImageKernelConvolution(@as([*c]Image, @ptrCast(image)), @as([*c]f32, @ptrCast(kernel)), @as(c_int, @intCast(kernel.len)));
|
||||
pub fn imageKernelConvolution(image: *Image, kernel: []const f32) void {
|
||||
cdef.ImageKernelConvolution(@as([*c]Image, @ptrCast(image)), @as([*c]const f32, @ptrCast(kernel)), @as(c_int, @intCast(kernel.len)));
|
||||
}
|
||||
|
||||
/// Generate image font atlas using chars info
|
||||
|
|
|
|||
|
|
@ -142,7 +142,11 @@ pub const rlShaderUniformDataType = enum(c_uint) {
|
|||
rl_shader_uniform_ivec2 = 5,
|
||||
rl_shader_uniform_ivec3 = 6,
|
||||
rl_shader_uniform_ivec4 = 7,
|
||||
rl_shader_uniform_sampler2d = 8,
|
||||
rl_shader_uniform_uint = 8,
|
||||
rl_shader_uniform_uivec2 = 9,
|
||||
rl_shader_uniform_uivec3 = 10,
|
||||
rl_shader_uniform_uivec4 = 11,
|
||||
rl_shader_uniform_sampler2d = 12,
|
||||
};
|
||||
|
||||
pub const rlShaderAttributeDataType = enum(c_uint) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue