zigjunk/src/main.zig
2024-08-29 08:57:08 +02:00

9 lines
242 B
Zig

const std = @import("std");
const Vec3 = @import("vector.zig").Vec3;
pub fn main() !void {
const a = Vec3.new(1.0, 2.0, 3.0);
const b = Vec3.new(4.0, 5.0, 6.0);
const c = a.dot(b);
std.debug.print("a dot b = {d}\n", .{c});
}