# Code coverage report for src/Joint.js

# all files / src/ Joint.js

100% Statements 1/1
100% Branches 0/0
100% Functions 0/0
100% Lines 1/1

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30

    1×

     import Base from './core/Base';

    /**
     * @constructor clay.Joint
     * @extends clay.core.Base
     */
    var Joint = Base.extend(
    /** @lends clay.Joint# */
    {
        // https://github.com/KhronosGroup/glTF/issues/193#issuecomment-29216576
        /**
         * Joint name
         * @type {string}
         */
        name: '',
        /**
         * Index of joint in the skeleton
         * @type {number}
         */
        index: -1,

        /**
         * Scene node attached to
         * @type {clay.Node}
         */
        node: null
    });

    export default Joint;