mirror of
https://github.com/Not-Nik/raylib-zig.git
synced 2025-09-08 19:47:28 +00:00
Fixup RAYLIB_VERSION constant (#236)
This commit is contained in:
parent
0de5f8aed0
commit
2e60ac0127
@ -1819,38 +1819,7 @@ pub const MaterialMapIndex = enum(c_int) {
|
||||
brdf = 10,
|
||||
};
|
||||
|
||||
pub const ShaderLocationIndex = enum(c_int) {
|
||||
vertex_position = 0,
|
||||
vertex_texcoord01 = 1,
|
||||
vertex_texcoord02 = 2,
|
||||
vertex_normal = 3,
|
||||
vertex_tangent = 4,
|
||||
vertex_color = 5,
|
||||
matrix_mvp = 6,
|
||||
matrix_view = 7,
|
||||
matrix_projection = 8,
|
||||
matrix_model = 9,
|
||||
matrix_normal = 10,
|
||||
vector_view = 11,
|
||||
color_diffuse = 12,
|
||||
color_specular = 13,
|
||||
color_ambient = 14,
|
||||
map_albedo = 15,
|
||||
map_metalness = 16,
|
||||
map_normal = 17,
|
||||
map_roughness = 18,
|
||||
map_occlusion = 19,
|
||||
map_emission = 20,
|
||||
map_height = 21,
|
||||
map_cubemap = 22,
|
||||
map_irradiance = 23,
|
||||
map_prefilter = 24,
|
||||
map_brdf = 25,
|
||||
vertex_boneids = 26,
|
||||
vertex_boneweights = 27,
|
||||
bone_matrices = 28,
|
||||
shader_loc_vertex_instance_tx
|
||||
};
|
||||
pub const ShaderLocationIndex = enum(c_int) { vertex_position = 0, vertex_texcoord01 = 1, vertex_texcoord02 = 2, vertex_normal = 3, vertex_tangent = 4, vertex_color = 5, matrix_mvp = 6, matrix_view = 7, matrix_projection = 8, matrix_model = 9, matrix_normal = 10, vector_view = 11, color_diffuse = 12, color_specular = 13, color_ambient = 14, map_albedo = 15, map_metalness = 16, map_normal = 17, map_roughness = 18, map_occlusion = 19, map_emission = 20, map_height = 21, map_cubemap = 22, map_irradiance = 23, map_prefilter = 24, map_brdf = 25, vertex_boneids = 26, vertex_boneweights = 27, bone_matrices = 28, shader_loc_vertex_instance_tx };
|
||||
|
||||
pub const ShaderUniformDataType = enum(c_int) {
|
||||
float = 0,
|
||||
@ -1982,7 +1951,7 @@ 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, 5);
|
||||
pub const RAYLIB_VERSION_PATCH = @as(i32, 0);
|
||||
pub const RAYLIB_VERSION = "5.6-devfn alloc(_: *anyopaque, len: usize, _: std.mem.Alignment, _: usize) ?[*]u8 {";
|
||||
pub const RAYLIB_VERSION = "5.6-dev";
|
||||
|
||||
pub const MAX_TOUCH_POINTS = 10;
|
||||
pub const MAX_MATERIAL_MAPS = 12;
|
||||
@ -2474,7 +2443,6 @@ fn remap(_: *anyopaque, buf: []u8, _: std.mem.Alignment, new_len: usize, _: usiz
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
const mem_vtable = std.mem.Allocator.VTable{
|
||||
.alloc = alloc,
|
||||
.resize = resize,
|
||||
|
Loading…
x
Reference in New Issue
Block a user