summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2025-09-14 09:52:09 +0200
committerJulien Lepiller <julien@lepiller.eu>2025-11-19 20:14:39 +0100
commitc836e993117910405b823e340f2c528069abe630 (patch)
treeed62de0fd0970303088a3d154c0be9c703a3c5a4
parent6ad790907e486638097d57c2055b74fe6903a5c3 (diff)
gnu: Add vhacd.
* gnu/packages/graphics.scm (vhacd): New variable. Change-Id: If26793a7ff9fcb77174494f01d884432599e395a
-rw-r--r--gnu/packages/graphics.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm
index af258d9a84e..fc79e02cd7c 100644
--- a/gnu/packages/graphics.scm
+++ b/gnu/packages/graphics.scm
@@ -3507,3 +3507,28 @@ meshes for these stages, as well as algorithms to reduce the mesh complexity
and storage overhead.")
(home-page "https://github.com/zeux/meshoptimizer")
(license license:expat)))
+
+(define-public vhacd
+ (package
+ (name "vhacd")
+ (version "4.1.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/kmammou/v-hacd")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1v462m6yyhrfpaa5bph1rma6c0yhnkadmggs5l3jxi746z2238qs"))))
+ (build-system copy-build-system)
+ (arguments
+ (list
+ #:install-plan
+ #~`(("include/VHACD.h" "include/"))))
+ (synopsis "Approximate convex decomposition")
+ (description
+ "This is a headers-only library that allows approximate convex decomposition
+of a 3D surface.")
+ (home-page "https://github.com/kmammou/v-hacd")
+ (license license:bsd-3)))