Skip to content

Gltf enhancements#22

Merged
Jannik-Hm merged 3 commits intomainfrom
gltf-enhancements
Mar 10, 2026
Merged

Gltf enhancements#22
Jannik-Hm merged 3 commits intomainfrom
gltf-enhancements

Conversation

@Jannik-Hm
Copy link
Member

GLTF parsing now respects the node hierarchy + non matrix rotations/translations/scaling

@Jannik-Hm Jannik-Hm self-assigned this Mar 10, 2026
@Jannik-Hm Jannik-Hm added the enhancement New feature or request label Mar 10, 2026
@github-actions
Copy link

Test Coverage Report 📊

File Function Coverage
github.com/Patch2PDF/GDTF-Mesh-Reader/v2/pkg/MeshTypes/matrix.go:12: IdentityMatrix 100.0%
github.com/Patch2PDF/GDTF-Mesh-Reader/v2/pkg/MeshTypes/matrix.go:21: Mul 100.0%
github.com/Patch2PDF/GDTF-Mesh-Reader/v2/pkg/MeshTypes/matrix.go:42: MulScalar 100.0%
github.com/Patch2PDF/GDTF-Mesh-Reader/v2/pkg/MeshTypes/matrix.go:51: MulPosition 100.0%
github.com/Patch2PDF/GDTF-Mesh-Reader/v2/pkg/MeshTypes/matrix.go:58: MulDirection 100.0%
github.com/Patch2PDF/GDTF-Mesh-Reader/v2/pkg/MeshTypes/matrix.go:65: GenerateRotationMatrix 100.0%
github.com/Patch2PDF/GDTF-Mesh-Reader/v2/pkg/MeshTypes/matrix.go:81: Rotate 100.0%
github.com/Patch2PDF/GDTF-Mesh-Reader/v2/pkg/MeshTypes/matrix.go:85: ReverseTransformation 100.0%
github.com/Patch2PDF/GDTF-Mesh-Reader/v2/pkg/MeshTypes/matrix.go:100: Transpose 0.0%
github.com/Patch2PDF/GDTF-Mesh-Reader/v2/pkg/MeshTypes/matrix.go:109: Determinant 0.0%
github.com/Patch2PDF/GDTF-Mesh-Reader/v2/pkg/MeshTypes/matrix.go:124: Inverse 0.0%
github.com/Patch2PDF/GDTF-Mesh-Reader/v2/pkg/MeshTypes/mesh.go:11: AddTriangle 100.0%
github.com/Patch2PDF/GDTF-Mesh-Reader/v2/pkg/MeshTypes/mesh.go:15: Copy 100.0%
github.com/Patch2PDF/GDTF-Mesh-Reader/v2/pkg/MeshTypes/mesh.go:21: Add 100.0%
github.com/Patch2PDF/GDTF-Mesh-Reader/v2/pkg/MeshTypes/mesh.go:30: RotateAndTranslate 100.0%
github.com/Patch2PDF/GDTF-Mesh-Reader/v2/pkg/MeshTypes/mesh.go:50: CalculateBoundingBox 100.0%
github.com/Patch2PDF/GDTF-Mesh-Reader/v2/pkg/MeshTypes/mesh.go:75: Scale 100.0%
github.com/Patch2PDF/GDTF-Mesh-Reader/v2/pkg/MeshTypes/mesh.go:94: ScaleToDimensions 100.0%
github.com/Patch2PDF/GDTF-Mesh-Reader/v2/pkg/MeshTypes/triangle.go:9: Normal 100.0%
github.com/Patch2PDF/GDTF-Mesh-Reader/v2/pkg/MeshTypes/triangle.go:15: Copy 100.0%
github.com/Patch2PDF/GDTF-Mesh-Reader/v2/pkg/MeshTypes/vector.go:32: DivScalar 100.0%
github.com/Patch2PDF/GDTF-Mesh-Reader/v2/pkg/MeshTypes/vector.go:36: Add 100.0%
github.com/Patch2PDF/GDTF-Mesh-Reader/v2/pkg/MeshTypes/vector.go:40: Sub 100.0%
github.com/Patch2PDF/GDTF-Mesh-Reader/v2/pkg/MeshTypes/vector.go:44: Cross 100.0%
github.com/Patch2PDF/GDTF-Mesh-Reader/v2/pkg/MeshTypes/vector.go:51: Normalize 100.0%
github.com/Patch2PDF/GDTF-Mesh-Reader/v2/pkg/MeshTypes/vector.go:56: ToVertex 100.0%
github.com/Patch2PDF/GDTF-Mesh-Reader/v2/pkg/MeshTypes/vector.go:63: Min 100.0%
github.com/Patch2PDF/GDTF-Mesh-Reader/v2/pkg/MeshTypes/vector.go:71: Max 100.0%
github.com/Patch2PDF/GDTF-Mesh-Reader/v2/pkg/MeshTypes/vector.go:79: Mult 100.0%
github.com/Patch2PDF/GDTF-Mesh-Reader/v2/pkg/MeshTypes/vector.go:87: Div 100.0%
github.com/Patch2PDF/GDTF-Mesh-Reader/v2/pkg/MeshTypes/vertex.go:8: Copy 100.0%
total: (statements) 84.4%

@Jannik-Hm Jannik-Hm merged commit 6532c76 into main Mar 10, 2026
7 checks passed
@Jannik-Hm Jannik-Hm deleted the gltf-enhancements branch March 10, 2026 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant