package
0.16.0
Repository: https://github.com/elicdavis/polyform.git
Documentation: pkg.go.dev

# README

Mesh Operations

A package serving for the implementation of common mesh operations.

Implemented Operations

Center Attribute

Calculates the AABB for the attribute specified (most commonly position, but could be used for anything like UV Coordinates) and offsets all vertice data by the center of the AABB.

Flat Normals

We set each vertices normal to be equal to the face's normal. If the vertice is used for multiple faces, a face is arbitrarily chosen. If you want to avoid this behavior, you should run Unweld first

Flip Winding

Laplacian Smoothing

Normalize Attribute

Remove Null Faces

Remove Unreferenced Vertices

Rotate Attribute

Scale Attribute

Smooth Normals

Translate Attribute

Unweld

Vertex Color Space

Color Grading LUT

Filter Float 1

Filter Float 2

Filter Float 3

Filter Float 4

# Packages

No description provided by the author

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Unweld duplicates all vertex data such that no two primitive indices share any one vertex.
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Finds the vector with the longest length and scales all vectors within the mesh attribute by (1 / longestLength).
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author