Skip to content

Conversation

@Jannik-Hm
Copy link
Member

This PR adds the handling of the transformation matrices contained in a GLTF file

@Jannik-Hm Jannik-Hm self-assigned this Dec 2, 2025
@Jannik-Hm Jannik-Hm added the enhancement New feature or request label Dec 2, 2025
@github-actions
Copy link

github-actions bot commented Dec 2, 2025

Test Coverage Report 📊

File Function Coverage
github.com/Patch2PDF/GDTF-Mesh-Reader/pkg/MeshTypes/matrix.go:10: IdentityMatrix 100.0%
github.com/Patch2PDF/GDTF-Mesh-Reader/pkg/MeshTypes/matrix.go:19: Mul 100.0%
github.com/Patch2PDF/GDTF-Mesh-Reader/pkg/MeshTypes/matrix.go:40: MulPosition 100.0%
github.com/Patch2PDF/GDTF-Mesh-Reader/pkg/MeshTypes/matrix.go:47: MulDirection 100.0%
github.com/Patch2PDF/GDTF-Mesh-Reader/pkg/MeshTypes/mesh.go:11: AddTriangle 100.0%
github.com/Patch2PDF/GDTF-Mesh-Reader/pkg/MeshTypes/mesh.go:15: Copy 100.0%
github.com/Patch2PDF/GDTF-Mesh-Reader/pkg/MeshTypes/mesh.go:24: Add 100.0%
github.com/Patch2PDF/GDTF-Mesh-Reader/pkg/MeshTypes/mesh.go:31: RotateAndTranslate 100.0%
github.com/Patch2PDF/GDTF-Mesh-Reader/pkg/MeshTypes/mesh.go:51: calculateBoundingBox 100.0%
github.com/Patch2PDF/GDTF-Mesh-Reader/pkg/MeshTypes/mesh.go:76: Scale 100.0%
github.com/Patch2PDF/GDTF-Mesh-Reader/pkg/MeshTypes/mesh.go:95: ScaleToDimensions 100.0%
github.com/Patch2PDF/GDTF-Mesh-Reader/pkg/MeshTypes/triangle.go:9: Normal 100.0%
github.com/Patch2PDF/GDTF-Mesh-Reader/pkg/MeshTypes/triangle.go:15: Copy 100.0%
github.com/Patch2PDF/GDTF-Mesh-Reader/pkg/MeshTypes/vector.go:32: DivScalar 100.0%
github.com/Patch2PDF/GDTF-Mesh-Reader/pkg/MeshTypes/vector.go:36: Add 100.0%
github.com/Patch2PDF/GDTF-Mesh-Reader/pkg/MeshTypes/vector.go:40: Sub 100.0%
github.com/Patch2PDF/GDTF-Mesh-Reader/pkg/MeshTypes/vector.go:44: Cross 100.0%
github.com/Patch2PDF/GDTF-Mesh-Reader/pkg/MeshTypes/vector.go:51: Normalize 100.0%
github.com/Patch2PDF/GDTF-Mesh-Reader/pkg/MeshTypes/vector.go:56: ToVertex 100.0%
github.com/Patch2PDF/GDTF-Mesh-Reader/pkg/MeshTypes/vector.go:63: Min 100.0%
github.com/Patch2PDF/GDTF-Mesh-Reader/pkg/MeshTypes/vector.go:71: Max 100.0%
github.com/Patch2PDF/GDTF-Mesh-Reader/pkg/MeshTypes/vector.go:79: Mult 100.0%
github.com/Patch2PDF/GDTF-Mesh-Reader/pkg/MeshTypes/vector.go:87: Div 100.0%
github.com/Patch2PDF/GDTF-Mesh-Reader/pkg/MeshTypes/vertex.go:8: Copy 100.0%
total: (statements) 100.0%

@Jannik-Hm Jannik-Hm merged commit 95b6070 into main Dec 2, 2025
7 checks passed
@Jannik-Hm Jannik-Hm deleted the gltf-transformation-matrix branch December 2, 2025 17:33
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.

2 participants