tetra3d icon indicating copy to clipboard operation
tetra3d copied to clipboard

Tetra3D is a 3D hybrid software/hardware renderer made for games written in Go with Ebitengine.

Results 4 tetra3d issues
Sort by recently updated
recently updated
newest added

```panic: runtime error: index out of range [4294967295] with length 0 goroutine 1 [running, locked to thread]: github.com/solarlune/tetra3d.LoadGLTFData({0xc00044c000, 0x1d81b, 0x1d81b}, 0x0) /Users/xackery/Documents/code/go/pkg/mod/github.com/solarlune/[email protected]/gltf.go:162 +0x8e7a exit status 2 ``` seems: ```go newMat.TexturePath...

```panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x4431201] goroutine 1 [running, locked to thread]: github.com/solarlune/tetra3d.LoadGLTFData({0xc000ad8000, 0x1d71f, 0x1d71f}, 0x0) /Users/xackery/Documents/code/go/pkg/mod/github.com/solarlune/[email protected]/gltf.go:158 +0xba1 github.com/xackery/quail/cmd.(*viewer).load(0xc0004e4bf0,...

goroutine 1 [running, locked to thread]: github.com/solarlune/tetra3d.LoadGLTFData({0xc0000cc000, 0x6c2, 0x6c3}, 0x0) /Users/xackery/Documents/code/go/pkg/mod/github.com/solarlune/[email protected]/gltf.go:402 +0x82a7 this time I can attach the gltf it fails with: [interleaved.gltf.zip](https://github.com/SolarLune/Tetra3d/files/9069359/interleaved.gltf.zip) This is based on https://github.com/qmuntal/gltf/tree/80d3922a76d3e24371f8c99e0d213ecc8dae3ffe#data-interleaving

Right now one has to `io.ReadAll` before passing the data slice into `LoadGLTFData` which wraps it in a reader, so why not pass a reader directly? Loading from file is...