Skip to content

chore: Investigate Vetor3 in three.js #1944

@aleksanderkatan

Description

@aleksanderkatan

The following seems to create vec4f array under the hood:

  const attractorsPositions = uniformArray([
    new THREE.Vector3(-1, 0, 0),
    new THREE.Vector3(1, 0, -0.5),
    new THREE.Vector3(0, 0.5, 1),
  ]);

This makes the following not work as intended:

  const attractorsPositionsAccess = fromTSL(attractorsPositions, {
    type: d.arrayOf(d.vec3f),
  });

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions