Skip to content

Commit

Permalink
Merge branch 'master' into felix/string-buffer-types
Browse files Browse the repository at this point in the history
  • Loading branch information
felixpalmer committed Mar 12, 2024
2 parents 8864177 + 09cca5e commit e093522
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion modules/layers/src/point-cloud-layer/point-cloud-layer.ts
Expand Up @@ -73,7 +73,8 @@ function normalizeData(data) {
attributes.instanceNormals = attributes.NORMAL;
}
if (attributes.COLOR_0) {
attributes.instanceColors = attributes.COLOR_0;
const {size, value} = attributes.COLOR_0;
attributes.instanceColors = {size, type: 'unorm8', value};
}
}

Expand Down
3 changes: 2 additions & 1 deletion website/src/examples/mapbox.mdx
@@ -1,5 +1,6 @@
# Mapbox

import BrowserOnly from '@docusaurus/BrowserOnly';
import Demo from './mapbox';

<Demo />
<BrowserOnly>{() => <Demo/>}</BrowserOnly>

0 comments on commit e093522

Please sign in to comment.