Skip to content

BUG: findSpan may be stuck in an infinite loop in this case. #16

@HsiaoYeekwan

Description

@HsiaoYeekwan

Hi ~ Tinynurbs is a nice library ~
But I encountered a problem when I was using the following code.
findSpan will be stuck in an infinite loop.

vector<float> knots = {0, 1, 1.3, 2.1, 3.6, 4.0};
int x = tinynurbs::findSpan(2, knots, 2.1f);

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