Winged Edge Data Structure in Lua
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
external
.gitattributes
.gitignore
LICENSE.md
README.md
init.lua

README.md

Lua Winged Edge

Lua Winged Edge piggy backs off of my Wavefront Object Loader library (among others) to create a comprehensive Winged Edge data structure. For further reading, please check the Documentation.

Quick Example

local we = require "winged-edge"

local object = we.new("some_object.obj")

for face in ipairs(obj.faces) do
	local adjacent = we.traverse(face, object)

	for _, adj_face in ipairs(adjacent) do
		print(face, adj_face)
	end
end

License

This code is licensed under the MIT Open Source License. Check out the LICENSE file for more information.