fix imports
This commit is contained in:
parent
048bf83616
commit
ca13a424e5
6 changed files with 13 additions and 7 deletions
|
|
@ -1,6 +1,7 @@
|
|||
// raylib-zig (c) Nikolas Wipper 2023
|
||||
|
||||
const rl = @This();
|
||||
const rlm = @import("raylib-zig-math.zig");
|
||||
const std = @import("std");
|
||||
|
||||
pub const RaylibError = error{GenericError};
|
||||
|
|
@ -22,6 +23,8 @@ pub const Vector3 = extern struct {
|
|||
pub fn init(x: f32, y: f32, z: f32) Vector3 {
|
||||
return Vector3{ .x = x, .y = y, .z = z };
|
||||
}
|
||||
pub const add = rlm.vector2Add;
|
||||
pub const sub = rlm.vector2Subtract;
|
||||
};
|
||||
|
||||
pub const Vector4 = extern struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue