Skip to content

Commit

Permalink
Remove bounding sphere description,
Browse files Browse the repository at this point in the history
Change the "first frame" bounding box information to function based on bind-pose instead.
  • Loading branch information
zachernuk committed Oct 2, 2024
1 parent 4fa9607 commit b3d2a77
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions explainer.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,13 +225,11 @@ additional capabilities relating to the animation timing and view parameters.
* `entityTransform`: a read-write `DOMMatrixReadOnly` that expresses the current mapping of the view of
the model contents to the view displayed in the browser.
* `boundingBoxCenter`: a read-only `DOMPoint` that indicates the center of the axis-aligned bounding box (AABB)
of the model contents. If there is an animation present, the bounding box is computed for the first frame of
of the model contents. If there is an animation present, the bounding box is computed based on the bind pose of
the animation and remains static for the lifetime of the model. It does not update based on a change of
the `entityTransform`.
* `boundingBoxExtent`: a read-only `DOMPoint` that indicates the extent of the bounding box of the model
contents.
* `boundingSphereCenter`: a read-only `DOMPoint` that indicates the center of the bounding sphere of the model contents, as it may differ from the bounding _box_ center.
* `boundingSphereRadius`: a read-only `double` that indicates the radius of the bounding sphere of the model contents.
* `duration`: a read-only `double` reflecting the un-scaled total duration of the animation, if present.
If there is no animation on this model, the value is 0.
* `currentTime`: a read-write `double` reflecting the un-scaled playback time of the model animation, if present.
Expand Down

0 comments on commit b3d2a77

Please sign in to comment.