Open
Description
What happened?
I found an obvious error in the documentation comments in OrthographicFrustum.js.
The documentation for offCenterFrustum is directly copied from projectionMatrix's description? This is clearly wrong.
Object.defineProperties(OrthographicFrustum.prototype, {
/**
* Gets the orthographic projection matrix computed from the view frustum.
* @memberof OrthographicFrustum.prototype
* @type {Matrix4}
* @readonly
*/
projectionMatrix: {
get: function () {
update(this);
return this._offCenterFrustum.projectionMatrix;
},
},
/**
* Gets the orthographic projection matrix computed from the view frustum.
* @memberof OrthographicFrustum.prototype
* @type {OrthographicOffCenterFrustum}
* @readonly
* @private
*/
offCenterFrustum: {
get: function () {
update(this);
return this._offCenterFrustum;
},
},
});
Reproduction steps
No response
Sandcastle example
No response
Environment
Browser:
CesiumJS Version:
Operating System: