Skip to content

Commit d35385f

Browse files
jjhembdJeshurun Hembd
and
Jeshurun Hembd
authoredMay 11, 2023
Fix doc for Entity.prototype.computeModelMatrix (#11277)
Co-authored-by: Jeshurun Hembd <jeshurun@cesium.com>
1 parent 633f515 commit d35385f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed
 

‎packages/engine/Source/DataSources/Entity.js

+2-3
Original file line numberDiff line numberDiff line change
@@ -637,13 +637,12 @@ const positionScratch = new Cartesian3();
637637
const orientationScratch = new Quaternion();
638638

639639
/**
640-
* Computes the model matrix for the entity's transform at specified time. Returns undefined if orientation or position
641-
* are undefined.
640+
* Computes the model matrix for the entity's transform at specified time. Returns undefined if position is undefined
642641
*
643642
* @param {JulianDate} time The time to retrieve model matrix for.
644643
* @param {Matrix4} [result] The object onto which to store the result.
645644
*
646-
* @returns {Matrix4} The modified result parameter or a new Matrix4 instance if one was not provided. Result is undefined if position or orientation are undefined.
645+
* @returns {Matrix4} The modified result parameter or a new Matrix4 instance if one was not provided. Result is undefined if position is undefined.
647646
*/
648647
Entity.prototype.computeModelMatrix = function (time, result) {
649648
//>>includeStart('debug', pragmas.debug);

0 commit comments

Comments
 (0)
Please sign in to comment.