Skip to content

Commit a28c29c

Browse files
committed
wip doc notes
1 parent 502f42c commit a28c29c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/engine/Source/Scene/Model/ModelSceneGraph.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -525,6 +525,7 @@ const scratchPrimitivePositionMax = new Cartesian3();
525525
* Generates the {@link ModelDrawCommand} for each primitive in the model.
526526
* If the model is used for classification, a {@link ClassificationModelDrawCommand}
527527
* is generated for each primitive instead.
528+
* Updates the bounding sphere for the scene graph and each primitive.
528529
* @param {Model} model TODO
529530
* @param {FrameState} frameState The current frame state. This is needed to
530531
* allocate GPU resources as needed.
@@ -672,6 +673,7 @@ ModelSceneGraph.prototype.buildDrawCommands = function (model, frameState) {
672673
);
673674

674675
this._rootBoundingSphere = boundingSphere;
676+
// TODO: resolve model space bounding sphere
675677
this._boundingSphere = BoundingSphere.clone(boundingSphere);
676678
};
677679

0 commit comments

Comments
 (0)