Skip to content

Commit 543b87c

Browse files
committed
bumped dependencies + added docstring to main mvr reader func
1 parent f18530c commit 543b87c

3 files changed

Lines changed: 13 additions & 10 deletions

File tree

go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ module github.com/Patch2PDF/MVR-Parser
33
go 1.25.4
44

55
require (
6-
github.com/Patch2PDF/GDTF-Mesh-Reader v1.1.1
7-
github.com/Patch2PDF/GDTF-Parser v0.2.0
8-
golang.org/x/sync v0.18.0
6+
github.com/Patch2PDF/GDTF-Mesh-Reader v1.1.2
7+
github.com/Patch2PDF/GDTF-Parser v0.2.1
8+
golang.org/x/sync v0.19.0
99
)
1010

1111
require github.com/qmuntal/gltf v0.28.0 // indirect

go.sum

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
github.com/Patch2PDF/GDTF-Mesh-Reader v1.1.1 h1:yPk/a1vdq5AwzRIEh82AOz44F/DDXVJL4CO48gGiPjg=
2-
github.com/Patch2PDF/GDTF-Mesh-Reader v1.1.1/go.mod h1:4Uipj5UA1HhD3v032aSnEFlpItN80UY5zKB15mIeVwQ=
3-
github.com/Patch2PDF/GDTF-Parser v0.2.0 h1:DMC4CHsSgi11Czu6ynub+RGdHNAV2zpCgTkHp1vjAG0=
4-
github.com/Patch2PDF/GDTF-Parser v0.2.0/go.mod h1:kv0zDACUKWzixjjR8ZAeVyO+9jzig7zcTE10YTRBJPU=
1+
github.com/Patch2PDF/GDTF-Mesh-Reader v1.1.2 h1:4LHeQjH+cwRoXuv+O4X9YoJaZAO/DihGGN5t3jVIFFk=
2+
github.com/Patch2PDF/GDTF-Mesh-Reader v1.1.2/go.mod h1:4Uipj5UA1HhD3v032aSnEFlpItN80UY5zKB15mIeVwQ=
3+
github.com/Patch2PDF/GDTF-Parser v0.2.1 h1:FCyzL52Tx+wiS/NFLGbXgQSFSmc27evi8rOKfucBh5I=
4+
github.com/Patch2PDF/GDTF-Parser v0.2.1/go.mod h1:sXYpcmWKjVBL0JuRWyHwSFHRGzx6kex+HaS/vEPLZ2Y=
55
github.com/go-test/deep v1.0.1 h1:UQhStjbkDClarlmv0am7OXXO4/GaPdCGiUiMTvi28sg=
66
github.com/go-test/deep v1.0.1/go.mod h1:wGDj63lr65AM2AQyKZd/NYHGb0R+1RLqB8NKt3aSFNA=
77
github.com/qmuntal/gltf v0.28.0 h1:C4A1temWMPtcI2+qNfpfRq8FEJxoBGUN3ZZM8BCc+xU=
88
github.com/qmuntal/gltf v0.28.0/go.mod h1:YoXZOt0Nc0kIfSKOLZIRoV4FycdC+GzE+3JgiAGYoMs=
9-
golang.org/x/sync v0.18.0 h1:kr88TuHDroi+UVf+0hZnirlk8o8T+4MrK6mr60WkH/I=
10-
golang.org/x/sync v0.18.0/go.mod h1:9KTHXmSnoGruLpwFjVSX0lNNA75CykiMECbovNTZqGI=
9+
golang.org/x/sync v0.19.0 h1:vV+1eWNmZ5geRlYjzm2adRgW2/mcpevXNg50YZtPCE4=
10+
golang.org/x/sync v0.19.0/go.mod h1:9KTHXmSnoGruLpwFjVSX0lNNA75CykiMECbovNTZqGI=

mvr-parser.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,13 @@ import (
1212
MVRTypes "github.com/Patch2PDF/MVR-Parser/pkg/types"
1313
)
1414

15+
// Takes a `.mvr` file zip reader and parses it, according to the given config
16+
//
17+
// may contain an entire mesh model of the stage, if configured as such
1518
func ParseMVRZipReader(zipfile *zip.Reader, config MVRTypes.MVRParserConfig) (*MVRTypes.GeneralSceneDescription, error) {
1619
var mvrData MVRXML.GeneralSceneDescription
1720

18-
// TODO: docs + tests + readme
21+
// TODO: docs + tests
1922

2023
// put all files in zip into the filemap
2124
var fileMap map[string]*zip.File = make(map[string]*zip.File)

0 commit comments

Comments
 (0)