{"id":15722632,"url":"https://github.com/subsoap/defmath","last_synced_at":"2025-05-13T04:42:35.187Z","repository":{"id":71235342,"uuid":"100775200","full_name":"subsoap/defmath","owner":"subsoap","description":"A module with a set of math functions for Defold","archived":false,"fork":false,"pushed_at":"2018-10-23T21:43:29.000Z","size":30,"stargazers_count":22,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-05-06T10:02:07.479Z","etag":null,"topics":["defold","defold-game-engine","gamedev","lua","math"],"latest_commit_sha":null,"homepage":null,"language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/subsoap.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-08-19T06:30:11.000Z","updated_at":"2025-04-26T11:02:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"6ea2d7b8-efe0-4c1b-98f7-1001cc8cb5b3","html_url":"https://github.com/subsoap/defmath","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subsoap%2Fdefmath","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subsoap%2Fdefmath/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subsoap%2Fdefmath/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subsoap%2Fdefmath/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/subsoap","download_url":"https://codeload.github.com/subsoap/defmath/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253877396,"owners_count":21977635,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["defold","defold-game-engine","gamedev","lua","math"],"created_at":"2024-10-03T22:08:41.735Z","updated_at":"2025-05-13T04:42:35.160Z","avatar_url":"https://github.com/subsoap.png","language":"Lua","readme":"# DefMath\nA module with a set of math functions for Defold\n\n## Installation\nYou can use DefMath in your own project by adding this project as a [Defold library dependency](http://www.defold.com/manuals/libraries/). Open your game.project file and in the dependencies field under project add:\n\n\thttps://github.com/subsoap/defmath/archive/master.zip\n  \nOnce added, you must require the main Lua module via\n\n```\nlocal defmath = require(\"defmath.defmath\")\n```\nThen you can use the DefMath functions for example via\n\n```\nprint(defmath.round_decimal(0.12345678,3))\n```\n","funding_links":[],"categories":["Libraries"],"sub_categories":["Programming Language"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsubsoap%2Fdefmath","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsubsoap%2Fdefmath","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsubsoap%2Fdefmath/lists"}