30 lines
500 B
JavaScript
30 lines
500 B
JavaScript
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;
|