Skip to content

Commit

Permalink
Update AnimationComponent to the new component format (#4174)
Browse files Browse the repository at this point in the history
* Update AnimationComponent to new format

* No longer need to fix up AnimationComponent types

* Lint fix

* Restore onSetAnimations

* Fix docs generation

* Set assets array correctly

* Re-add ComponentSystem#system and entity to docs

* Improve JSDocs

* Simplify JSDocs

* Add newline after Application JSDocs

* Back out exposing Component properties because of API refs problems
  • Loading branch information
willeastcott committed Apr 6, 2022
1 parent 4fb8347 commit 1776d67
Show file tree
Hide file tree
Showing 6 changed files with 380 additions and 298 deletions.
1 change: 1 addition & 0 deletions src/animation/skeleton.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { Debug } from '../core/debug.js';
import { Quat } from '../math/quat.js';
import { Vec3 } from '../math/vec3.js';

/** @typedef {import('./animation.js').Animation} Animation */
/** @typedef {import('../scene/graph-node.js').GraphNode} GraphNode */

class InterpolatedKey {
Expand Down
3 changes: 2 additions & 1 deletion src/framework/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ import { XrManager } from '../xr/xr-manager.js';
* manually.
*
* @augments AppBase
*/class Application extends AppBase {
*/
class Application extends AppBase {
/**
* Create a new Application instance.
*
Expand Down

0 comments on commit 1776d67

Please sign in to comment.