Skip to content

Applications: Useless assignments #5820

@maddin200

Description

@maddin200

File: /sofa-master/applications/plugins/CollisionOBBCapsule/src/CollisionOBBCapsule/detection/intersection/MeshIntTool.cpp line 428

Code:

alpha = 0.5; // <-- useless
beta = 0.5;  // <-- useless

alpha = (b[0]*A[1][1] - b[1]*A[0][1])/det;
beta  = (b[1]*A[0][0] - b[0]*A[1][0])/det;

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue: bug (minor)Bug affecting only some users or with no major impact on the framework

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions