-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
sampleHeight fixes and cleanup #7174
Conversation
Thanks for the pull request @lilleyse!
Reviewers, don't forget to make sure that:
I am a bot who helps you make Cesium awesome! Contributions to my configuration are welcome. 🌍 🌎 🌏 |
@@ -3112,10 +3112,19 @@ define([ | |||
this._lastRenderTime = JulianDate.clone(time, this._lastRenderTime); | |||
this._renderRequested = false; | |||
this._logDepthBufferDirty = false; | |||
var frameNumber = CesiumMath.incrementWrap(frameState.frameNumber, 15000000.0, 1.0); | |||
updateFrameNumber(this, frameNumber, time); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Separated updateFrameState
and updateFrameNumber
so that the frame number/time can be updated before update
. In #7115 update
is where async tiles get loaded so the frame number needs to be correct for the tileset cache to work properly.
ebd65d9
to
4b3bfbf
Compare
Source/Core/Ray.js
Outdated
if (!defined(result)) { | ||
return new Ray(ray.origin, ray.direction); | ||
} | ||
result.origin = ray.origin; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here and below should clone ray.origin
and ray.direction
.
Those are the only comments. Looks good to me. |
@bagnell Thanks, updated. |
Fixes #7120 and #7129
Otherwise most of this is organizational changes from #7115 that will make that PR easier to review later.
@bagnell can you review?