Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Textured cube in three format variants:

1. glTF (JSON) with separate buffer and texture files.
2. glTF-Binary (.glb)
2. glTF-Binary (.glb) version 2 and version 3.
3. glTF (JSON) with embedded buffer and texture.

## Legal
Expand Down
Git LFS file not shown
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public void OneTimeTearDown()
AssetDatabase.Refresh();
}

[GltfTestCase("glTF-test-models", 65)]
[GltfTestCase("glTF-test-models", 66)]
public IEnumerator GltfTestModels(GltfTestCaseSet testCaseSet, GltfTestCase testCase)
{
#if GLTFAST_EDITOR_IMPORT_OFF
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public void OneTimeTearDown()
m_Runner.Dispose();
}

[GltfTestCase("glTF-test-models", 65)]
[GltfTestCase("glTF-test-models", 66)]
public IEnumerator GltfTestModels(GltfTestCaseSet testCaseSet, GltfTestCase testCase)
{
yield return AsyncWrapper.WaitForTask(m_Runner.Run(testCaseSet, testCase));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public IEnumerator CancelImport_SampleAssets(GltfTestCaseSet testCaseSet, GltfTe
yield return CancellationTestInternal(testCaseSet, testCase, k_MaxIterations);
}

[GltfTestCase("glTF-test-models", 65)]
[GltfTestCase("glTF-test-models", 66)]
public IEnumerator CancelImport_TestModels(GltfTestCaseSet testCaseSet, GltfTestCase testCase)
{
yield return CancellationTestInternal(testCaseSet, testCase, k_MaxIterations);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public IEnumerator LoadUnload_SampleAssets(GltfTestCaseSet testCaseSet, GltfTest
yield return GetAllObjectsTestInternal(LoadFileInternal(testCaseSet, testCase), true);
}

[GltfTestCase("glTF-test-models", 65)]
[GltfTestCase("glTF-test-models", 66)]
public IEnumerator LoadUnload_TestModels(GltfTestCaseSet testCaseSet, GltfTestCase testCase)
{
yield return GetAllObjectsTestInternal(LoadFileInternal(testCaseSet, testCase), true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ MonoBehaviour:
- relativeUri: EightTexcoords/EightTexcoords.gltf
expectLoadFail: 0
expectInstantiationFail: 0
expectedLogCodes: 34000000
expectedLogCodes: 36000000
requiredExtensions:
- relativeUri: EmbedBufferInvalid/EmbedBufferInvalid.gltf
expectLoadFail: 1
Expand Down Expand Up @@ -63,7 +63,7 @@ MonoBehaviour:
- relativeUri: NineTexcoords/NineTexcoords.gltf
expectLoadFail: 0
expectInstantiationFail: 0
expectedLogCodes: 34000000
expectedLogCodes: 36000000
requiredExtensions:
- relativeUri: NoNormals/NoNormals.gltf
expectLoadFail: 0
Expand Down Expand Up @@ -128,12 +128,12 @@ MonoBehaviour:
- relativeUri: Bounds/BoundsMissing/BoundsMissing.gltf
expectLoadFail: 0
expectInstantiationFail: 0
expectedLogCodes: 20000000
expectedLogCodes: 22000000
requiredExtensions:
- relativeUri: DracoSpecialCases/glTF/DracoSpecialCases.gltf
expectLoadFail: 0
expectInstantiationFail: 0
expectedLogCodes: 2000000034000000
expectedLogCodes: 2200000036000000
requiredExtensions: 00000000
- relativeUri: FormatVariants/glTF/FormatVariants.gltf
expectLoadFail: 0
Expand All @@ -145,6 +145,11 @@ MonoBehaviour:
expectInstantiationFail: 0
expectedLogCodes:
requiredExtensions:
- relativeUri: FormatVariants/glTF-Binary/FormatVariantsGLB3.glb
expectLoadFail: 0
expectInstantiationFail: 0
expectedLogCodes:
requiredExtensions:
- relativeUri: FormatVariants/glTF-Embedded/FormatVariants.gltf
expectLoadFail: 0
expectInstantiationFail: 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@

namespace GLTFast
{
readonly struct GlbBinChunk
readonly struct GltfBufferRange
{
public int Start { get; }
public long Start { get; }

public uint Length { get; }
public long Length { get; }

public GlbBinChunk(int start, uint length)
public GltfBufferRange(long start, long length)
{
Start = start;
Length = length;
Expand Down
Loading