UNPKG

xtorcga

Version:

Xtor Compute Geometry Algorithm Libary 计算几何算法库

39 lines (38 loc) 1.35 kB
"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; return extendStatics(d, b); }; return function (d, b) { extendStatics(d, b); function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; })(); Object.defineProperty(exports, "__esModule", { value: true }); exports.Bone = void 0; var Mat4_1 = require("src/math/Mat4"); var thing_1 = require("src/render/thing"); /* * @Description : * @Author : 赵耀圣 * @QQ : 549184003 * @Date : 2021-03-22 17:41:30 * @LastEditTime : 2021-03-23 16:19:09 * @FilePath : \cga.js\src\IKanimation\Bone.ts */ var Bone = /** @class */ (function (_super) { __extends(Bone, _super); function Bone() { var _this = _super.call(this) || this; _this.children = []; _this.contraints = []; _this.matrix = Mat4_1.Mat4.Identity; return _this; } return Bone; }(thing_1.Thing)); exports.Bone = Bone;