Skip to content

Missing ArrayList type in Chain class  #1

@mrtnRivera

Description

@mrtnRivera

Testing in an old Processing version (3.5.4). So take with a grain of salt.
Got a compilation error pointing to lines 16 and 17 on the Chain class file.
Adding the data type to the ArrayList allowed me to compile and test the example:

joints = new ArrayList<PVector>(); // Assumed to be >= 2, otherwise it wouldn't be much of a chain
angles = new ArrayList<Float>();

By the way, thanks for sharing the implementation to your wonderful explanation and video. Cheers

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