Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Delete docs - Will redo docs in a different way, this was too frustrating * Delete print.lua.minified * Delete debug.lua * Delete color.lua * Delete draw.button.lua * Delete draw.lua * Update print_logger.lua * Delete print_logger.lua * Create create_print_logger.lua * Update builtins.lua * Update library.lua * Update build_library.sh - Formats the library.lua file better * Delete print.lua.minified - Removing this for now to get rid of clutter. Will use the library.lua file going forward in all dev work. * Update builtins.lua - Removed comments - Will redo docs later * Consolidate ColorUtils - Consolidated utilities into a static class * Create ColorTables class - This class will hold color table palettes * Update Vec2.lua - Redefine validator functions as global so other functions can depend on them - Add scale_about and Set - Handles case that a future Vec3 doesn't accidentally pass as Vec2 * Create Utils.lua - Shared Utility class for common functions * Create Button.lua - Recategorize Button class into a widget - Will have to rewrite this, but essentially you'll create a shape and pass it to the Button constructor class and create a button from that. * Create Triangle.lua - Add robust Triangle class - Still need to add some more methods like Set_vec2s * Update Point.lua - Uses Utils.process_args for clarity and to reduce repetition * Update Line.lua - Add methods to create dashed lines between all and from one to all * Delete draw.primitives.lua - Will not bother making this since it'll be essentially useless in the library even though it does show what the equivalent API would be for something that matches the library * Delete button.lua - Moved * Create Debug class - Debug class now holds Debug.Logger() which is the old print() function factory. * Update library.lua --------- Co-authored-by: Mark Boyd <[email protected]>
- Loading branch information