Skip to content

Commit

Permalink
fix: types
Browse files Browse the repository at this point in the history
  • Loading branch information
akhileshh committed Apr 25, 2023
1 parent 07bc832 commit 3680244
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/neuroglancer/datasource/graphene/backend.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,10 @@ interface GrapheneMultiscaleManifestChunk extends MultiscaleManifestChunk {
function decodeMultiscaleManifestChunk(chunk: GrapheneMultiscaleManifestChunk, response: any) {
verifyObject(response);
chunk.manifest = {
chunkShape: response.chunkShape,
chunkGridSpatialOrigin: response.chunkGridSpatialOrigin,
lodScales: response.lodScales,
octree: response.octree,
chunkShape: vec3.clone(response.chunkShape),
chunkGridSpatialOrigin: vec3.create(),
lodScales: new Float32Array(response.lodScales),
octree: new Uint32Array(response.octree),
vertexOffsets: new Float32Array(response.lodScales.length * 3),
clipLowerBound: vec3.create(),
clipUpperBound: vec3.create(),
Expand Down

0 comments on commit 3680244

Please sign in to comment.