openframeworks / openframeworks/openFrameworks

ofRectangle::intersects(const ofPoint& p0, const ofPoint& p1) fails in one case.

Open
#4,871 1 comment 0 reactions 1 assignee View on GitHub

@bakercp is already working on this.

Since Feb 19, 2016.

bug
Dominant language
C++
Stars
10.4k
Forks
2.6k
Avg merge
1d 21h
Merged PRs (30d)
9

Description

This should return true:

ofRectangle(0, 0, 100, 100).intersects(ofPoint(0, 50), ofPoint(50, 0)) It does not.

Thanks @anikahhh!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.