Browsing StarfallEx's section
โ† Back to ACE
Back to StarfallEx

SFEX.mesh.findConvexHull

S๐Ÿท๏ธ Mesh

Part of StarfallEx namespace

๐Ÿ”— External
mesh.findConvexHull(vertices, threaded)
View on GitHub|lua/starfall/libs_sh/mesh.lua:763
๐Ÿ“‹ Has LDoc๐Ÿ‘๏ธ 0 viewsUpdated 2 months ago

Description

Finds the convex hull of provided vertices table.

Parameters

NameTypeDescription
verticestableThe table of vertices (vectors) or vertex data (http://wiki.facepunch.com/gmod/Structures/MeshVertex)
threaded?booleanOptional bool, use threading object that can be used to run algorithm over time to prevent hitting quota limit

Returns

TypeDescription
tableThe mesh table which can be passed to mesh.createFromTable
tableThe table of vertices which can be passed to prop.createCustom

Examples

No examples available.

Used In

No usages found in the codebase.