Skip to content
Snippets Groups Projects
Commit 5f8c5ce6 authored by Alexander Rose's avatar Alexander Rose
Browse files

cleanup

parent 50a85ddc
No related branches found
No related tags found
No related merge requests found
......@@ -108,7 +108,7 @@ export namespace Lines {
const { boundingSphere, invariantBoundingSphere } = getBoundingSphere(lines.startBuffer.ref.value, lines.endBuffer.ref.value, lines.lineCount,
transform.aTransform.ref.value, transform.instanceCount.ref.value)
return {
aMapping: lines.mappingBuffer,
aGroup: lines.groupBuffer,
......
......@@ -165,6 +165,7 @@ export type InternalSchema = typeof InternalSchema
export type InternalValues = { [k in keyof InternalSchema]: ValueCell<any> }
export const ColorSchema = {
// aColor: AttributeSpec('float32', 3, 0), // TODO
uColor: UniformSpec('v3'),
uColorTexDim: UniformSpec('v2'),
tColor: TextureSpec('image-uint8', 'rgb', 'ubyte', 'nearest'),
......@@ -174,6 +175,7 @@ export type ColorSchema = typeof ColorSchema
export type ColorValues = Values<ColorSchema>
export const SizeSchema = {
// aSize: AttributeSpec('float32', 1, 0), // TODO
uSize: UniformSpec('f'),
uSizeTexDim: UniformSpec('v2'),
tSize: TextureSpec('image-uint8', 'alpha', 'ubyte', 'nearest'),
......
......@@ -170,7 +170,7 @@ export function UnitsVisual<P extends UnitsParams>(builder: UnitsVisualGeometryB
}
if (updateState.updateTransform || updateState.createGeometry) {
console.log('UnitsVisual.updateBoundingSphere')
// console.log('UnitsVisual.updateBoundingSphere')
updateBoundingSphere(renderObject.values, newGeometry || geometry)
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment