Skip to content

getOrSetColor() is always called when moving mouse. #2

@Getsumi3

Description

@Getsumi3

Hi.
I was doing some research and noticed that method getOrSetColors(newValue) from particle-view.js is always called when moving the mouse.
Especially this part:
if (isFloat32Array(newValue) && newValue.length === colors.length) { colors = newValue; geometry.getAttribute('customColor').needsUpdate = true; }
Looks like this if condition is always true.
I don't know if this is an intentional behavior so I thought I'll open an issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions