Skip to main content
Show raw api
{
    "functions": [
        {
            "name": "updatePositionToSmallestDistOnCircle",
            "desc": "https://math.stackexchange.com/questions/110080/shortest-way-to-achieve-target-angle\nNote: target should be within 0 and circumference",
            "params": [
                {
                    "name": "position",
                    "desc": "",
                    "lua_type": "number"
                },
                {
                    "name": "target",
                    "desc": "",
                    "lua_type": "number"
                },
                {
                    "name": "circumference",
                    "desc": "",
                    "lua_type": "number"
                }
            ],
            "returns": [
                {
                    "desc": "",
                    "lua_type": "number"
                }
            ],
            "function_type": "static",
            "source": {
                "line": 16,
                "path": "src/geometryutils/src/Shared/CircleUtils.lua"
            }
        }
    ],
    "properties": [],
    "types": [],
    "name": "CircleUtils",
    "desc": "",
    "source": {
        "line": 4,
        "path": "src/geometryutils/src/Shared/CircleUtils.lua"
    }
}