Swiftpack.co - heckj/MeshGenerator as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by heckj.
heckj/MeshGenerator 0.6.0
API to generate 3D surface meshes for Apple platforms
⭐️ 18
🕓 26 weeks ago
iOS macOS watchOS tvOS
.package(url: "https://github.com/heckj/MeshGenerator.git", from: "0.6.0")



API to generate 3D surface meshes for Apple platforms.

This is a bare-bones library sufficient to create surfaces meshes, and doesn't include tooling or API to generate geometries. The library is intended to be the bare components needed for a useful API that can be used to generate geometries.

The underlying computations for vectors, normals, etc from this library use simd from the Accelerate framework, if available.

The code owes inspiration, and considerable debt, to Nick Lockwood, creator of Euclid. Portions of the code are used, under license, from the Euclid project.

The library supports only triangles as a base type of polygon for rendering into geometries. If you want to work with quads or higher order polygons, or use constructive solid geometry, please look into Euclid, which supports generating geometries from paths and text, constructive solid geometry, as well as geometric primitives.


Stars: 18
Last commit: 3 weeks ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

0.6.0 - RealityKit support
26 weeks ago

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics