doorxp-blog

doorxp.com

typescript Array 增加方法.

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

Powered By Z-BlogPHP 1.5.1 Zero

Copyright doorxp.com Rights Reserved.