Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Homogeneous vectors #277

Merged
merged 2 commits into from Mar 16, 2018
Merged

Homogeneous vectors #277

merged 2 commits into from Mar 16, 2018

Conversation

@kvark
Copy link
Member

kvark commented Mar 16, 2018

This is useful for plane-splitting in the clip space in WR.


This change is Reviewable

@kvark kvark requested a review from nical Mar 16, 2018
@glennw
Copy link
Member

glennw commented Mar 16, 2018

@bors-servo
Copy link
Contributor

bors-servo commented Mar 16, 2018

📌 Commit e4c34dc has been approved by glennw

@bors-servo
Copy link
Contributor

bors-servo commented Mar 16, 2018

Testing commit e4c34dc with merge b98dc17...

bors-servo added a commit that referenced this pull request Mar 16, 2018
Homogeneous vectors

This is useful for plane-splitting in the clip space in WR.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/euclid/277)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Mar 16, 2018

☀️ Test successful - status-travis
Approved by: glennw
Pushing b98dc17 to master...

@bors-servo bors-servo merged commit e4c34dc into servo:master Mar 16, 2018
2 checks passed
2 checks passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
@kvark kvark deleted the kvark:homogeneous branch Mar 16, 2018
bors-servo added a commit to servo/webrender that referenced this pull request Aug 3, 2018
Proper near plane splitting

The PR is built on the shoulders of #2913, #2741, servo/euclid#277, servo/euclid#291, servo/plane-split#12, and (last but not the least!) servo/plane-split#15

It uses the new clipping semantics in `plane-split` crate uniformly for both bounding box computation and 3d plane splitting itself, ensuring that no incorrect perspective divisions are performed (and closing quite a few TODO entries). Also adds a small reftest for the latter.

Fixes #2272

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/webrender/2947)
<!-- Reviewable:end -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.