Skip to content

GetInterval in OBBOBB test #5

Description

@bsy6766

I was looking on OBB vs OBB test and found that it's calling GetInterval() with obb1 twice.

bool OverlapOnAxis(const OBB& obb1, const OBB& obb2, const vec3& axis) {
Interval a = GetInterval(obb1, axis);
Interval b = GetInterval(obb1, axis);
return ((b.min <= a.max) && (a.min <= b.max));
}

Is this intentional? or is second call supposed to be with obb2?

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