{"id":21647822,"url":"https://github.com/markknol/hx-vector2d","last_synced_at":"2026-02-01T00:02:46.528Z","repository":{"id":69819707,"uuid":"141144823","full_name":"markknol/hx-vector2d","owner":"markknol","description":"2d Vector for Haxe","archived":false,"fork":false,"pushed_at":"2019-12-13T10:28:31.000Z","size":27,"stargazers_count":12,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-13T09:08:46.028Z","etag":null,"topics":["geometry","haxe","vector"],"latest_commit_sha":null,"homepage":null,"language":"Haxe","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/markknol.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-07-16T13:47:37.000Z","updated_at":"2023-05-18T04:39:12.000Z","dependencies_parsed_at":"2024-01-03T03:54:13.050Z","dependency_job_id":"be5189e7-990e-4003-95a0-ebd90bc30f3f","html_url":"https://github.com/markknol/hx-vector2d","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/markknol/hx-vector2d","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markknol%2Fhx-vector2d","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markknol%2Fhx-vector2d/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markknol%2Fhx-vector2d/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markknol%2Fhx-vector2d/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/markknol","download_url":"https://codeload.github.com/markknol/hx-vector2d/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markknol%2Fhx-vector2d/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28961149,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T23:03:11.038Z","status":"ssl_error","status_checked_at":"2026-01-31T22:56:44.691Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["geometry","haxe","vector"],"created_at":"2024-11-25T06:51:49.153Z","updated_at":"2026-02-01T00:02:46.484Z","avatar_url":"https://github.com/markknol.png","language":"Haxe","funding_links":[],"categories":["Miscellaneous"],"sub_categories":["Math helpers"],"readme":"# hx-vector2d [![Build Status](https://travis-ci.org/markknol/hx-vector2d.svg?branch=master)](https://travis-ci.org/markknol/hx-vector2d)\n\nWorlds most complete Vector2d / Point class for Haxe. With operator overloading.\n\n```haxe\nvar p1:Vector2d = new Vector2d(10, 20);\nvar p2:Vector2d = {x: 10.0, y: 30.0};\n\n// same as `var p3 = p1.add(p2);`, same as `var p3 = {x: p1.x + p2.x, y:p1.y + p2.y}`\nvar p3 = p1 + p2; \ntrace(p3); // p3 = {x: 20.0, y: 50.0}\n\n// x*x + y*y\ntrace(p3.length); // 2900\n\n// same as Math.sqrt(p3.length)\ntrace(p3.magnitude); // 53.85164807134504\n\n// From array is also possible\nvar p4:Vector2d = [0.2, 0.3]; \n```\n\n### Dependencies\n\n * [Haxe](https://haxe.org/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkknol%2Fhx-vector2d","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarkknol%2Fhx-vector2d","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkknol%2Fhx-vector2d/lists"}