mme-tools-library

Library of tools and classes used by MME


Keywords
easing, geometry, library, mme, obj, stl, tools, utilities
License
MIT
Install
haxelib install mme-tools-library 1.2.1

Documentation

Mini Mighty Engine Tools Library

Tools, classes and utilities used in MME, bundled together in their own library so they can be used without MME.

Dependencies:

Contents

  • File formats:

    • Format-like classes for reading:
      • STL (binary)
      • OBJ (subset)
      • MTL (subset)
      • SVG Path d attribute string
    • reading/writing:
      • .fontatlas (MME binary file for storing font atlas data)
  • Math and related stuff

    • Quick-n-dirty port of Mapbox Delaunator to Haxe
    • Haxe implementation of common easing functions, port of AHEasing code
    • FNV-1a 32-bit and 64-bit hash functions
  • Geometry related

    • Port of AGG v2.4 quad and cubic Bezier curve generators
    • Functions to generate structures and data for drawing polyline outlines using OpenGL shaders. Based (partially) on AGG 2.4 stroker class
    • Classes and functions to parse SVG Path d attribute into Path2D commands, converting Path2D commands into array of line segments ready for rendering
  • Utilities

    • Implementation of LZW algorithm