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

Fixed the billboard alignedaxis issue. #5367

Merged
merged 3 commits into from
May 25, 2017
Merged

Fixed the billboard alignedaxis issue. #5367

merged 3 commits into from
May 25, 2017

Conversation

klingerj
Copy link

Fixes #2487

@@ -256,6 +256,7 @@ void main()

vec4 positionWC = computePositionWindowCoordinates(positionEC, imageSize, scale, direction, origin, translate, pixelOffset, alignedAxis, validAlignedAxis, rotation, sizeInMeters);
gl_Position = czm_viewportOrthographic * vec4(positionWC.xy, -positionWC.z, 1.0);
//gl_Position = czm_modelViewProjection * vec4(positionWC.xy, -positionWC.z, 1.0);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops... extra comment slipped by.

@emackey emackey requested a review from bagnell May 25, 2017 18:47
Copy link
Contributor

@bagnell bagnell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice. Just the one comment to remove unused variables.

@@ -53,9 +53,9 @@ vec4 computePositionWindowCoordinates(vec4 positionEC, vec2 imageSize, float sca
{
vec3 pos = positionEC.xyz + czm_encodedCameraPositionMCHigh + czm_encodedCameraPositionMCLow;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can remove this and normal as well.

@bagnell
Copy link
Contributor

bagnell commented May 25, 2017

@klingerj When you finish updates after a review, bump the PR so the reviewer knows to look again. Please update any forum threads linked in the issue that this was fixed and will be in the next release.

@bagnell bagnell merged commit 6eb0439 into CesiumGS:master May 25, 2017
@klingerj klingerj deleted the billboard-alignment-fix branch May 25, 2017 21:01
@klingerj
Copy link
Author

Got it, thanks for letting me know @bagnell.

@pjcozzi
Copy link
Contributor

pjcozzi commented May 25, 2017

Fantastic, thanks again @klingerj!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants