doorxp

Blog

typescript Array 增加方法.

interface Array<T> {    x: number;    y: number;    sqrlen(): number;    len(): number;    normalize(): number[];    scale(s: number): number[];    add(b: number[]): number[]

egret3d Mesh rotation

let oMatrix = this.ballMesh.modelMatrix; let matrix = new egret3d.Matrix4_4(); matrix.identity(); matrix.appendRotation(vangle * 60, axis); oMatrix.multiply(matrix); this.ballMesh.orientation.fromMatrix(oMatrix);

dts-gen throw e 不能生成.d.ts,报错

Unexpected crash! Please log a bug with the commandline you specified. /opt/local/lib/node_modules/dts-gen-v2/bin/lib/run.js:130         throw e;  
«   2024年11月   »
123
45678910
11121314151617
18192021222324
252627282930
控制面板
您好,欢迎到访网站!
  查看权限
网站分类
搜索
最新留言

    Powered By Z-BlogPHP 1.5.1 Zero

    Copyright doorxp.com Rights Reserved.