{"id":16699560,"url":"https://github.com/sinanislekdemir/ansic3d","last_synced_at":"2025-04-10T03:42:12.753Z","repository":{"id":78064897,"uuid":"97339853","full_name":"sinanislekdemir/ansic3d","owner":"sinanislekdemir","description":"Ansi-C 3D Library","archived":false,"fork":false,"pushed_at":"2018-12-27T11:29:58.000Z","size":75,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T05:01:43.431Z","etag":null,"topics":["3d","c","math","matrix","matrix-calculations","vector","vector-math"],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sinanislekdemir.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-07-15T20:12:53.000Z","updated_at":"2020-06-22T22:10:27.000Z","dependencies_parsed_at":"2023-02-24T04:46:11.045Z","dependency_job_id":null,"html_url":"https://github.com/sinanislekdemir/ansic3d","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/sinanislekdemir%2Fansic3d","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinanislekdemir%2Fansic3d/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinanislekdemir%2Fansic3d/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinanislekdemir%2Fansic3d/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sinanislekdemir","download_url":"https://codeload.github.com/sinanislekdemir/ansic3d/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248154965,"owners_count":21056541,"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":["3d","c","math","matrix","matrix-calculations","vector","vector-math"],"created_at":"2024-10-12T18:07:24.357Z","updated_at":"2025-04-10T03:42:12.745Z","avatar_url":"https://github.com/sinanislekdemir.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ansi C 3D Math Library\n\n[![Build Status](https://travis-ci.org/sinanislekdemir/ansic3d.svg?branch=master)](https://travis-ci.org/sinanislekdemir/ansic3d)\n\nSome codes are derived from GLScene project (glscene.org)\n\nI needed a basic ansi-c  3D library for another project of mine so I started\nthis project. I implemented my own needs within the library.\n\nDocumenting the library in README is a heavy job so instead, best documentation\nis the code itself. So you may find the needed information in header files.\n\nAnd for the use cases, you can refer to `tests/test.c`\n\n## Installing\nBBee Build tool is already inside the repo (https://github.com/sinanislekdemir/bbee)\n\nTo compile the library (to build/libansic3d.a):\n\n    python bbee\n\nTo install the library:\n\n    python bbee --install\n\n\nTo compile and run the tests\n\n    python bbee --i=test.json\n\nOr just run to compule and install the library and run the tests.\n\n    ./build.sh\n\n\n## Tests\n\n    $ bbee --i=test.json\n    Building using gcc\n    Collecting files\n    Building ./tests/test.c\n    Running build/test\n    TestCloneVector [OK]\n    TestAddVector [OK]\n    TestSubVector [OK]\n    TestScaleVector [OK]\n    TestCrossProduct [OK]\n    TestNormalizeVector [OK]\n    TestDivideVector [OK]\n    TestPerpendicularVector [OK]\n    TestRotateAroundX [OK]\n    TestRotateAroundY [OK]\n    TestRotateAroundZ [OK]\n    TestVectorLength [OK]\n    TestDotProduct [OK]\n    TestVectorNorm [OK]\n    TestVectorDistance [OK]\n    TestPlaceNormal [OK]\n    TestInitVectorList [OK]\n    TestPushVector [OK]\n    TestFreeVectorList [OK]\n    TestPopVector [OK]\n    TestRemoveLastVector [OK]\n    TestTrimVectorList [OK]\n    TestHomogeneousMatrix [OK]\n    TestCreateScaleMatrix [OK]\n    TestCreateTranslationMatrix [OK]\n    TestCreateScaleAndTranslationMatrix [OK]\n    TestCreateRotationMatrixX [OK]\n    TestCreateRotationMatrixY [OK]\n    TestCreateRotationMatrixZ [OK]\n    TestCreateRotationMatrix [OK]\n    TestMultiplyMatrix [OK]\n    TestVectorTransform [OK]\n    TestMatrixDeterminant [OK]\n    TestAdjointMatrix [OK]\n    TestScaleMatrix [OK]\n    TestInvertMatrix [OK]\n    TestTransposeMatrix [OK]\n    TestLookAtMatrix [OK]\n\n\n## Creator\n\nsinan islekdemir | sinan@islekdemir.com \n\n\n## Note\nI only compiled the code under MacOs so let me know if it works for you too.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsinanislekdemir%2Fansic3d","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsinanislekdemir%2Fansic3d","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsinanislekdemir%2Fansic3d/lists"}