Skip to content

DynamicGeometry renders different results in Web Workers #165

@pilwon

Description

@pilwon

DynamicGeometry renders different results in Web Workers.


👎 Triangles with 3 vertices

new DynamicGeometry()
  .setVertexPositions([
    -1, 0, 0,
    1, 0, 0,
    0, 1, 0,
  ]);

1


👍 Triangles with 4 vertices

new DynamicGeometry()
  .setVertexPositions([
    -1, 0, 0,
    1, 0, 0,
    0, 1, 0,
    0, -1, 0,
  ]);

2


👎 Lines with 0 vertices

new DynamicGeometry()
  .setDrawType('lines');

3


👎 Lines with 2 vertices

new DynamicGeometry()
  .setDrawType('lines')
  .setVertexPositions([
    -1, 0, 0,
    1, 0, 0,
  ]);

4


👎 Lines with 3 vertices

new DynamicGeometry()
  .setDrawType('lines')
  .setVertexPositions([
    -1, 0, 0,
    1, 0, 0,
    0, 1, 0,
  ]);

5


👎 Lines with 4 vertices

new DynamicGeometry()
  .setDrawType('lines')
  .setVertexPositions([
    -1, 0, 0,
    1, 0, 0,
    0, 1, 0,
    0, -1, 0,
  ]);

6

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions