package An official xmake package repository https://xrepo.xmake.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
629 B

package("linmath.h")
set_kind("library", {headeronly = true})
set_homepage("https://github.com/datenwolf/linmath.h")
set_description("a lean linear math library, aimed at graphics programming. Supports vec3, vec4, mat4x4 and quaternions")
set_license("WTFPL")
add_urls("https://github.com/datenwolf/linmath.h.git")
add_versions("2022.06.19", "3eef82841046507e16a0f6194a61cee2eadd34b3")
on_install(function (package)
os.cp("linmath.h", package:installdir("include"))
end)
on_test(function (package)
assert(package:has_cfuncs("mat4x4_mul", {includes = "linmath.h"}))
end)