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

SFEX.mesh.generateNormals

S๐Ÿท๏ธ Mesh

Part of StarfallEx namespace

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

Description

Generates normal vectors for the provided vertices table

Parameters

NameTypeDescription
verticestableThe table of vertices
inverted?booleanOptional bool, invert the normal
smooth_limit?numberOptional number, smooths the normal based on the limit in radians

Returns

No return values documented.

Examples

No examples available.

Used In

No usages found in the codebase.