qmuntal/gltf

View on GitHub
testdata/issue63/simple.gltf

Summary

Maintainability
Test Coverage
{
  "scenes": [
    {
      "nodes": [0, 1]
    }
  ],
  "nodes": [
    {
      "mesh": 0
    },
    {
      "mesh": 0,
      "name": "guid",
      "matrix": [
        2.0,
        0.0,
        0.0,
        0.0,
        0.0,
        0.866,
        0.5,
        0.0,
        0.0,
        -0.25,
        0.433,
        0.0,
        10.0,
        20.0,
        30.0,
        1.0
      ]
    }
  ],

  "meshes": [
    {
      "primitives": [
        {
          "attributes": {
            "POSITION": 1,
            "NORMAL": 2
          },
          "indices": 0
        }
      ]
    }
  ],

  "buffers": [
    {
      "uri": "data:application/octet-stream;base64,AAABAAIAAAAAAAAAAAAAAAAAAAAAAIA/AAAAAAAAAAAAAAAAAACAPwAAAAAAAAAAAAAAAAAAgD8AAAAAAAAAAAAAgD8AAAAAAAAAAAAAgD8=",
      "byteLength": 80
    }
  ],
  "bufferViews": [
    {
      "buffer": 0,
      "byteOffset": 0,
      "byteLength": 6,
      "target": 34963
    },
    {
      "buffer": 0,
      "byteOffset": 8,
      "byteLength": 72,
      "target": 34962
    }
  ],
  "accessors": [
    {
      "bufferView": 0,
      "byteOffset": 0,
      "componentType": 5123,
      "count": 3,
      "type": "SCALAR",
      "max": [2],
      "min": [0]
    },
    {
      "bufferView": 1,
      "byteOffset": 0,
      "componentType": 5126,
      "count": 3,
      "type": "VEC3",
      "max": [1.0, 1.0, 0.0],
      "min": [0.0, 0.0, 0.0]
    },
    {
      "bufferView": 1,
      "byteOffset": 36,
      "componentType": 5126,
      "count": 3,
      "type": "VEC3",
      "max": [0.0, 0.0, 1.0],
      "min": [0.0, 0.0, 1.0]
    }
  ],

  "asset": {
    "version": "2.0"
  }
}