Browse Source

SceneTools: adapt test to Containers::Pair having different Debug output.

The minmax() returned std::pair originally, which was printed as (a, b);
now Containers::Pair is printed as {a, b}. Which I like better, anyway.
pull/168/head
Vladimír Vondruš 3 years ago
parent
commit
1a268adfb7
  1. 22
      src/Magnum/SceneTools/Test/SceneConverterImplementationTestFiles/info-meshes-bounds.txt

22
src/Magnum/SceneTools/Test/SceneConverterImplementationTestFiles/info-meshes-bounds.txt

@ -1,26 +1,26 @@
Mesh 0: Mesh 0:
Level 0: 2 vertices @ Lines (0.2 kB, {}) Level 0: 2 vertices @ Lines (0.2 kB, {})
Position @ Vector3, offset 0, stride 12 Position @ Vector3, offset 0, stride 12
Bounds: ({0.1, -0.1, -0.2}, {0.2, 0, 0.2}) Bounds: {Vector(0.1, -0.1, -0.2), Vector(0.2, 0, 0.2)}
Tangent @ Vector3, offset 24, stride 12 Tangent @ Vector3, offset 24, stride 12
Bounds: ({0.2, -0.2, 0.2}, {0.3, 0.8, 0.8}) Bounds: {Vector(0.2, -0.2, 0.2), Vector(0.3, 0.8, 0.8)}
Bitangent @ Vector3, offset 48, stride 12 Bitangent @ Vector3, offset 48, stride 12
Bounds: ({0.3, 0.2, 0}, {0.4, 0.9, 1}) Bounds: {Vector(0.3, 0.2, 0), Vector(0.4, 0.9, 1)}
ObjectId @ UnsignedShort, offset 72, stride 2 ObjectId @ UnsignedShort, offset 72, stride 2
Bounds: (12, 155) Bounds: {12, 155}
Normal @ Vector3bNormalized, offset 76, stride 3 Normal @ Vector3bNormalized, offset 76, stride 3
Bounds: ({-1, 0, 0}, {0, 1, 1}) Bounds: {Vector(-1, 0, 0), Vector(0, 1, 1)}
Custom(25:normalButCustomSoNoBoundsPrinted) @ Vector3b, offset 76, stride 3 Custom(25:normalButCustomSoNoBoundsPrinted) @ Vector3b, offset 76, stride 3
TextureCoordinates @ Vector2, offset 84, stride 8 TextureCoordinates @ Vector2, offset 84, stride 8
Bounds: ({0.5, 0.5}, {1.5, 0.5}) Bounds: {Vector(0.5, 0.5), Vector(1.5, 0.5)}
Color @ Vector4, offset 100, stride 16 Color @ Vector4, offset 100, stride 16
Bounds: ({0.6, 0.2, 0.2, 0}, {1, 0.4, 0.4, 0.2}) Bounds: {Vector(0.6, 0.2, 0.2, 0), Vector(1, 0.4, 0.4, 0.2)}
ObjectId @ UnsignedInt, offset 132, stride 4 ObjectId @ UnsignedInt, offset 132, stride 4
Bounds: (15, 337) Bounds: {15, 337}
JointIds @ UnsignedByte[3], offset 140, stride 3 JointIds @ UnsignedByte[3], offset 140, stride 3
Bounds: (6, 27) Bounds: {6, 27}
Weights @ Half[3], offset 146, stride 6 Weights @ Half[3], offset 146, stride 6
Bounds: (0.125, 0.75) Bounds: {0.125, 0.75}
3 indices @ UnsignedByte, offset 0, stride 1 (0.0 kB, {}) 3 indices @ UnsignedByte, offset 0, stride 1 (0.0 kB, {})
Bounds: (3, 176) Bounds: {3, 176}
Total mesh data size: 0.2 kB Total mesh data size: 0.2 kB

Loading…
Cancel
Save