Compare commits

...

3 commits

4 changed files with 29 additions and 0 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
.zig-cache

3
README.md Normal file
View file

@ -0,0 +1,3 @@
# zigsdof
6dof solver written in zig, hopefully for modeling my custom drones if I ever have time for it.

18
build.zig Normal file
View file

@ -0,0 +1,18 @@
const std = @import("std");
pub fn build(b: *std.Build) void {
const target = b.standardTargetOptions(.{});
const optimize = b.standardOptimizeOption(.{});
const test_step = b.step("test", "Run unit tests");
const unit_tests = b.addTest(.{
.root_module = b.createModule(.{
.root_source_file = b.path("./main.zig"),
.target = target,
.optimize = optimize,
}),
});
const run_unit_tests = b.addRunArtifact(unit_tests);
test_step.dependOn(&run_unit_tests.step);
}

7
main.zig Normal file
View file

@ -0,0 +1,7 @@
const std = @import("std");
pub fn main() !void {}
test "main" {
_ = @import("./vec3/src/vec3.zig");
}