loop_subdivision library

////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////

Classes

LoopParameters
LoopSubdivision
Loop subdivision surface modifier for use with modern three.js BufferGeometry

Constants

POSITION_DECIMALS → const int
// Constants

Functions

calcNormal(Vector3 target, Vector3 vec1, Vector3 vec2, Vector3 vec3) → void
////////////////////////////////////////////////////////////////////////////////// // Local Functions, Geometry //////////////////////////////////////////////////////////////////////////////////
fuzzy(num a, num b, [double tolerance = 0.00001]) bool
Compares two numbers to see if they're almost the same
gatherAttributes(BufferGeometry geometry) List<String>
hashFromNumber(num num, [int? shift]) String
Generates hash strong from Number
hashFromVector(Vector3 vector, [int? shift]) String
Generates hash strong from Vector3.zero
lerp(double x, double y, double t) double
round(num x) int
setTriangle(dynamic positions, int index, int step, Vector3 vec0, Vector3 vec1, Vector3 vec2) → void
verifyGeometry(BufferGeometry? geometry) bool