raylib/raymath/rlgl/raygui: Expose cdef (#152)
This commit is contained in:
parent
855ab9cd70
commit
01b6e1a2e2
8 changed files with 18 additions and 16 deletions
|
|
@ -3,6 +3,8 @@
|
|||
const rl = @This();
|
||||
const std = @import("std");
|
||||
|
||||
pub const cdef = @import("raylib-ext.zig");
|
||||
|
||||
pub const gl = @import("rlgl.zig");
|
||||
pub const math = @import("raymath.zig");
|
||||
|
||||
|
|
@ -1969,8 +1971,6 @@ pub const MATERIAL_MAP_SPECULAR = MaterialMapIndex.material_map_metalness;
|
|||
pub const SHADER_LOC_MAP_DIFFUSE = ShaderLocationIndex.shader_loc_map_albedo;
|
||||
pub const SHADER_LOC_MAP_SPECULAR = ShaderLocationIndex.shader_loc_map_metalness;
|
||||
|
||||
const cdef = @import("raylib-ext.zig");
|
||||
|
||||
/// Set icon for window (multiple images, RGBA 32bit, only PLATFORM_DESKTOP)
|
||||
pub fn setWindowIcons(images: []Image) void {
|
||||
cdef.SetWindowIcons(@as([*c]Image, @ptrCast(images)), @as(c_int, @intCast(images.len)));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue