Skip to content

issue with Node.adjust() #5

@cjcliffe

Description

@cjcliffe

Seems to be an issue on the following line:

https://github.com/secretrobotron/octree.js/blob/master/octree.js#L256

where "containsPoint" is used as containsPoint( minpoint, aabb ) and containsPoint( maxpoint, aabb ) when the function definition is containsPoint ( aabb, point ) which seems contrary.

Having issues using adjust() using any combination of logical substitutions for the issue here (flipping parameters, swapping index and both); visibility shows popping of objects.

Manually removing and inserting the object from the tree prevents popping but is much slower than calls to adjust()

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