{"id":23679807,"url":"https://github.com/imnerocode/vo-structures","last_synced_at":"2026-02-14T19:03:24.130Z","repository":{"id":269065545,"uuid":"906299051","full_name":"imnerocode/vo-structures","owner":"imnerocode","description":"A Go library providing core data structures (Value Objects) for 3D model representations, facilitating the parsing and handling of various 3D formats such as OBJ, GLTF, and FBX.","archived":false,"fork":false,"pushed_at":"2024-12-20T16:24:29.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-03T08:33:55.298Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/imnerocode.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":"2024-12-20T15:33:36.000Z","updated_at":"2024-12-21T12:47:30.000Z","dependencies_parsed_at":"2024-12-27T06:45:59.371Z","dependency_job_id":null,"html_url":"https://github.com/imnerocode/vo-structures","commit_stats":null,"previous_names":["imnerocode/vo-structures"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/imnerocode/vo-structures","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imnerocode%2Fvo-structures","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imnerocode%2Fvo-structures/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imnerocode%2Fvo-structures/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imnerocode%2Fvo-structures/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/imnerocode","download_url":"https://codeload.github.com/imnerocode/vo-structures/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imnerocode%2Fvo-structures/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29452594,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T15:52:44.973Z","status":"ssl_error","status_checked_at":"2026-02-14T15:52:11.208Z","response_time":53,"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":[],"created_at":"2024-12-29T17:55:45.667Z","updated_at":"2026-02-14T19:03:24.114Z","avatar_url":"https://github.com/imnerocode.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# T_parser.go\n\nThis file contains the Go package `vo` which defines structures for representing 3D models. The package includes definitions for vertices, faces, materials, UV coordinates, and normals.\n\n## Structures\n\n### Model\n\nThe `Model` structure represents a 3D model with the following fields:\n\n- `ID`: A string identifier for the model.\n- `Vertices`: A slice of `Vertex` structures representing the vertices of the model.\n- `Faces`: A slice of `Face` structures representing the faces of the model.\n- `Materials`: A slice of `Material` structures representing the materials of the model.\n- `UVCoords`: A slice of `UV` structures representing the UV coordinates of the model.\n- `Normals`: A slice of `Normal` structures representing the normals of the model.\n\n### Vertex\n\nThe `Vertex` structure represents a single point in 3D space with the following fields:\n\n- `X`: The X coordinate (float32).\n- `Y`: The Y coordinate (float32).\n- `Z`: The Z coordinate (float32).\n\n### Face\n\nThe `Face` structure represents a polygon formed by indices of vertices with the following field:\n\n- `VertexIndices`: A slice of int32 representing the indices of the vertices forming the face.\n\n### Material\n\nThe `Material` structure represents the material properties of a model with the following fields:\n\n- `Name`: The name of the material (string).\n- `Color`: The color of the material (string, hex or rgba).\n- `Specularity`: The specularity of the material (float32).\n\n### UV\n\nThe `UV` structure represents a UV coordinate with the following fields:\n\n- `U`: The U coordinate (float32).\n- `V`: The V coordinate (float32).\n\n### Normal\n\nThe `Normal` structure represents a normal vector in 3D space with the following fields:\n\n- `NX`: The normal X coordinate (float32).\n- `NY`: The normal Y coordinate (float32).\n- `NZ`: The normal Z coordinate (float32).\n\n## Usage\n\nTo use these structures, import the `vo` package in your Go project:\n\n```go\nimport \"github.com/imnerocode/vo-structures/\"\n```\n\nYou can then create and manipulate 3D models using the provided structures.\n\n## License\n\nThis project is licensed under the MIT License.\n\nThis `README.md` file provides an overview of the structures defined in the `T_parser.go` file, their fields, and usage instructions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimnerocode%2Fvo-structures","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimnerocode%2Fvo-structures","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimnerocode%2Fvo-structures/lists"}